looks like NAP is not compatible with devices that have windowed watch dogs. you could try reporting this as a bug
or write your own nap routine in asm
Greetings to all...
I´ve searched the forum and havent't found info about this problem and can not figure what i'm doing wrong:
I need to use NAP from 2 to 8 seconds, just for low power mode in...
i gave you two massive clues if you really are using a 12f675, a read of the manual and a search of the forum/pbp manual will yield all you need to know re setting config [fuses]registers and pin...
richard - 11th June 2025, 10:46Thanks for the reply. Can you help me correct the errors? Show me what I need to correct.
binary01 - 11th June 2025, 07:15a pic12f675 has no PORTA
@ device pic12F675, CPD_ON, PROTECT_ON, MCLR_OFF, PWRT_ON, WDT_Off, INTRC_OSC_NOCLKOUT
is an outdated and no longer valid method of setting device config registers
Hello,
Please someone help me correct the program. I am new to PICBASIC, I found this program on a forum and I can't compile it because there are errors. This program motivated me to continue...
Re: PIC16F18855, ASM error when using NAP
Thank you for your input, Richard
nomada Yesterday, 14:40