| | | Watchdog timer I need to use the watchdog timer to wake up periodically (ever 2.6s or so), but it seems to keep resetting, and sending my code out to lala land. Can anybody help me?
CLR EA
CLR IEN0.6
MOV WDL, #0FFH
CLR WDTE
CLR WDSE
;MOV ACC, #0E5H
ORL WDCON, #0E5H
MOV WFEED1, #0A5h
MOV WFEED2, #05AH
SETB IEN0.6
SETB EA
Thanks! |
|
25-7-2007 16:18 Views: 996 |
dean2t |