A watchdog timer is used when the program running 'goes nuts'. When it's running, you have to periodically reset the WDT. If you don't reset it, the WDT will execute a processor reset.
There is 3 timers available, but they all use power to run them. The WDT uses a lot less power, even though it's not quite as accurate.
Check your PBP and/or PIC manual for the CLRWDT instruction. It should become clear as mud to ya.![]()





Bookmarks