Author |
Message |
Topic: PIC18F26J50 Deep Sleep Problem |
respected
Replies: 7
Views: 22665
|
Forum: General CCS C Discussion Posted: Thu Sep 10, 2020 6:33 am Subject: PIC18F26J50 Deep Sleep Problem |
I tried. But unfortunately the result is the same.
#include <18F26J50.h>
//#device ADC=10
#fuses INTRC_PLL,NOWDT,PLL2,CPUDIV2,RTCOSC_T1
#use delay(clock=24M)
rtc_time_t time; ... |
Topic: PIC18F26J50 Deep Sleep Problem |
respected
Replies: 7
Views: 22665
|
Forum: General CCS C Discussion Posted: Wed Sep 09, 2020 2:10 pm Subject: PIC18F26J50 Deep Sleep Problem |
How can i use?
I use RTCOSC_T1, setup_timer_1(T1_EXTERNAL| T1_DIV_BY_1 );
Isn't it enough for this ? |
Topic: PIC18F26J50 Deep Sleep Problem |
respected
Replies: 7
Views: 22665
|
Forum: General CCS C Discussion Posted: Wed Sep 09, 2020 10:47 am Subject: PIC18F26J50 Deep Sleep Problem |
I can't see where you are switching it to use the T1 source?
what do you mean? I don't understand
setup_timer_1(T1_EXTERNAL| T1_DIV_BY_1 ); |
Topic: PIC18F26J50 Deep Sleep Problem |
respected
Replies: 7
Views: 22665
|
Forum: General CCS C Discussion Posted: Wed Sep 09, 2020 8:28 am Subject: PIC18F26J50 Deep Sleep Problem |
Anyone using the deep sleep feature? The MCU switches to Deep sleep mode but then I can't wake it up
In the datasheet it said it could be awakened with RTC alarm, but I couldn't run it.
This i ... |
Topic: http command and array |
respected
Replies: 5
Views: 17142
|
Forum: General CCS C Discussion Posted: Fri Oct 12, 2018 7:38 am Subject: http command and array |
Yes. It works now.
Before i used program memory. But READ_PROGRAM_MEMORY and WRITE_PROGRAM_MEMORY command.
I learned a new knowledge.
Can i change ROM data while PIC is working? |
Topic: http command and array |
respected
Replies: 5
Views: 17142
|
Forum: General CCS C Discussion Posted: Fri Oct 12, 2018 7:01 am Subject: http command and array |
Already first one don't work.
How correct to mistake? Maybe i should write in to ROM. |
Topic: http command and array |
respected
Replies: 5
Views: 17142
|
Forum: General CCS C Discussion Posted: Fri Oct 12, 2018 6:50 am Subject: http command and array |
What is the difference I don't understand:
char remote_ip[16]="192.168.1.20";
HttpClientSetHostNameROM((rom char*)remote_ip);
or
HttpClientSetHostNameROM ... |
Topic: 18F67j50 http client problem |
respected
Replies: 14
Views: 35032
|
Forum: General CCS C Discussion Posted: Thu Oct 11, 2018 1:51 pm Subject: 18F67j50 http client problem |
1- i sent to thingspeak my ip address.
2- i want to data like below command (pic or browser)
http://18.235.222.172/channels/600214/fields/1.json?api_key=.....api_key...&results=2
3- thi ... |
Topic: 18F67j50 http client problem |
respected
Replies: 14
Views: 35032
|
Forum: General CCS C Discussion Posted: Thu Oct 11, 2018 1:54 am Subject: 18F67j50 http client problem |
Thanks for your answers. I think first choice is the best for me.
https://dns.google.com/resolve?name=mcugomsis.site&type=A
answer
{"Status": 0,"TC": fal ... |
Topic: 18F67j50 http client problem |
respected
Replies: 14
Views: 35032
|
Forum: General CCS C Discussion Posted: Thu Oct 11, 2018 1:40 am Subject: 18F67j50 http client problem |
So just second. You say to me you use DHCP and you can use static ip for device. Is true? If yes how? |
Topic: 18F67j50 http client problem |
respected
Replies: 14
Views: 35032
|
Forum: General CCS C Discussion Posted: Thu Oct 11, 2018 1:27 am Subject: 18F67j50 http client problem |
I have to use static ip. Because there is firewall where i use device. |
Topic: 18F67j50 http client problem |
respected
Replies: 14
Views: 35032
|
Forum: General CCS C Discussion Posted: Thu Oct 11, 2018 12:59 am Subject: 18F67j50 http client problem |
I think this is only my problem or all moderator don't know how to resolve. or they don't want to share any info.
TCPIPCONFIG.h
#ifndef __TCPIPCONFIG_H
#define __TCPIPCONFIG_H
#include "G ... |
Topic: 18F67j50 http client problem |
respected
Replies: 14
Views: 35032
|
Forum: General CCS C Discussion Posted: Wed Oct 10, 2018 8:45 am Subject: 18F67j50 http client problem |
if(DNSBeginUsage()) DNSResolveROM("mcugomsis.site",DNS_TYPE_A);
DNSEndUsage();
printf(lcd_putc,"%03u:%03u:%03u:%03u",ResolvedInfo.IPAddr.v[0 ... |
Topic: 18F67j50 http client problem |
respected
Replies: 14
Views: 35032
|
Forum: General CCS C Discussion Posted: Mon Oct 08, 2018 11:36 am Subject: 18F67j50 http client problem |
I thing i solved problem. If I wait 30 sec. it has not problem. Because HttpClientIsBusy() function returned value 0. 30 sec. later returned value 1 and i can send data. |
Topic: 18F67j50 http client problem |
respected
Replies: 14
Views: 35032
|
Forum: General CCS C Discussion Posted: Mon Oct 08, 2018 8:48 am Subject: 18F67j50 http client problem |
mypage.com (this is an example address)
my web page is www.mcugomsis.site
ip 35.233.222.163 |
|