Search found 153 matches
Re: SLEEP
It starts with a 16x2 LCD display and a 4x4 keypad to program, which I physically disconnect and add this parameter (LCDCONbits.LCDEN = 0;). When the main program routine starts, I convert pin of KEYPAD to GND outputs; and keep a DS1307 RTC in the main program routine, I power it with a BC548 transi...
Re: SLEEP
Hello, I tested it using the relay as an indicator at the beginning of the program, and it doesn't restart from the start. It continues after SLEEP, and suddenly, randomly, the current draw rises to 25 mA and remains there until the PIC wakes up 256 seconds later, then drops to 0.020 mA. It consumes...
Re: SLEEP
Hi
Okay, I'll do that test. This way I'll know if it's restarting or continuing where the sequence left off in the programming.
Thanks
Okay, I'll do that test. This way I'll know if it's restarting or continuing where the sequence left off in the programming.
Thanks
Re: SLEEP
Thanks, I appreciate the help.
Best Regards
Best Regards
SLEEP
Hello everyone on the forum, I hope you enjoy a Merry Christmas and a Happy New Year 2026 :!: Continuing with the topic of the SLEEP, WDT, and CLRWDT commands, I'm using a PIC16F1939. It accesses the SLEEP command correctly, although sometimes it doesn't. Previously, I used a PIC16F1847, and SLEEP w...
- Fri Aug 15, 2025 9:40 pm
- Forum: General
- Topic: Error copile
- Replies: 9
- Views: 4826
Re: Error copile
Hi, I have to say that I prefer a glass of tequila (Agavero), the drawback is that you forget what you were doing. . . . :lol: but in a previous version of Flowcode I had an RTC connected on channel 1 and an LCDI2C display in software, and it compiled correctly, I'm using the same PIC16F1939; but wi...
- Tue Aug 05, 2025 11:28 pm
- Forum: General
- Topic: Error copile
- Replies: 9
- Views: 4826
Re: Error copile
Hello, I see... I think I'm still asleep !!!!! Thank you very much for the observation, Martin.
Best Regards
Enrique
Best Regards
Enrique
- Tue Aug 05, 2025 9:17 pm
- Forum: General
- Topic: Error copile
- Replies: 9
- Views: 4826
Re: Error copile
I'm using I2C Master for RTC and also LCDI2C Software
- Tue Aug 05, 2025 9:08 pm
- Forum: General
- Topic: Error copile
- Replies: 9
- Views: 4826
Re: Error copile
mensaje
- Tue Aug 05, 2025 9:07 pm
- Forum: General
- Topic: Error copile
- Replies: 9
- Views: 4826
Error copile
Hello,
please could you check the following error that flowcode shows me when compiling, I am using the PIC16F1939.
^ (103) #error: "I2C Channel 2 does not have the SSP2IF defined on this chip - does your chip support this feature?"
please could you check the following error that flowcode shows me when compiling, I am using the PIC16F1939.
^ (103) #error: "I2C Channel 2 does not have the SSP2IF defined on this chip - does your chip support this feature?"