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
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...
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...
Here you will find snippets of working code that will help save you time. Please help add to our collection of examples by contributing code that you have written.
Re: PIC16F18855, ASM error when using NAP
Thank you for your input, Richard
nomada - 12th June 2025, 14:40