Search found 153 matches

by ELECTRONICA67
Tue Jan 06, 2026 6:53 am
Forum: General
Topic: SLEEP
Replies: 8
Views: 677

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...
by ELECTRONICA67
Mon Jan 05, 2026 9:07 pm
Forum: General
Topic: SLEEP
Replies: 8
Views: 677

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...
by ELECTRONICA67
Mon Dec 29, 2025 2:25 am
Forum: General
Topic: SLEEP
Replies: 8
Views: 677

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
by ELECTRONICA67
Mon Dec 22, 2025 10:24 pm
Forum: General
Topic: SLEEP
Replies: 8
Views: 677

Re: SLEEP

Thanks, I appreciate the help.

Best Regards
by ELECTRONICA67
Mon Dec 22, 2025 12:35 am
Forum: General
Topic: SLEEP
Replies: 8
Views: 677

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...
by ELECTRONICA67
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...
by ELECTRONICA67
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
by ELECTRONICA67
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
by ELECTRONICA67
Tue Aug 05, 2025 9:08 pm
Forum: General
Topic: Error copile
Replies: 9
Views: 4826

Re: Error copile

mensaje
by ELECTRONICA67
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?"