| ??? 11/26/01 23:06 Read: times |
#16930 - RE: Reset Watchdog timer |
Just reset the watchdog counter as part of the main system loop. Here is some pseudo code...
<>< Lance. boolean dont_stop = true; initialize_everything(); while (dont_stop) // Main loop { scan_input(); do_some_calculations(); display_something(); reset_watchdog(); }// end of main loop void reset_watchdog() { out(WATCHDOG_PORT, WATCHDOG_RESET_BIT); }// reset_watchdog() |
| Topic | Author | Date |
| Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer - Peter | 01/01/70 00:00 | |
| RE: Reset Watchdog timer - Peter | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
| RE: Reset Watchdog timer | 01/01/70 00:00 | |
RE: Reset Watchdog timer | 01/01/70 00:00 |



