Watch the dog watch the watchdog
March 31, 2015 Leave a comment
What’s wrong with this picture?
Here, we have a classic example of a PIC being reset by its watchdog timer.
The PIC used in the simulation – 16F866 – has a default watchdog countdown timer of about 2.3 seconds.
So, the count from 0 to 9 is interrupted before the end of the sequence and the program is restarted.
In the following article, we will see how to configure and use a watchdog on a PIC micro-controller.