Example of watchdog causing a reset
Fork of KL25Z_WATCHDOG_USBSERIAL by
Diff: main.cpp
- Revision:
- 5:c9b52b30a317
- Parent:
- 2:c31a1758ac38
- Child:
- 6:cbbe7d3ff485
diff -r 4bfdc1cc5e19 -r c9b52b30a317 main.cpp --- a/main.cpp Tue Feb 27 10:29:02 2018 +0000 +++ b/main.cpp Wed Feb 27 11:59:35 2019 +0000 @@ -33,8 +33,8 @@ // Demonstate the watchdog // The red LED is on after reset -// Th blue LED flashes and the watch dog is fed -// Aft 5sec, stop feeding the watchdog +// The blue LED flashes and the watch dog is fed +// After 5sec, stop feeding the watchdog enum wState {Working, Stopped} ; int main(void) {