Right,
Have a 16f628a.
@ DEVICE pic16F628A, INTOSC_OSC_NOCLKOUT
@ DEVICE pic16F628A, WDT_OFF
@ DEVICE pic16F628A, PWRT_ON
@ DEVICE pic16F628A, MCLR_OFF
@ DEVICE pic16F628A, BOD_OFF
@ DEVICE pic16F628A, LVP_OFF
@ DEVICE pic16F628A, CPD_OFF
@ DEVICE pic16F628A, PROTECT_OFF
Use the memreset pin as input switch, start, tied high via resistor, cap across switch.
At the end of the program
@ sleep
pause 100
goto beginning of program
Now....
It goes to sleep, no problem, but when i power down and reapply power,
hence using pwrttimer reset option, it stays ASLEEP !!!
help, please ?
can post complete code, but over 700 lines.
Bookmarks