Start Back Next End
  
ZBasic System Library
345
ZBasic Microcontrollers
WatchDog
Type
Subroutine
Invocation
WatchDog() 
Discussion
This routine resets the watchdog timer, preventing it from resetting the system.  A watchdog timer is
useful to ensure that your program continues to operate normally.
To implement a watchdog timer you first call OpenWatchDog() to prepare the watchdog timer for use. 
Thereafter, if your program doesn’t call WatchDog() often enough, the watchdog will eventually time out
and cause a system reset.
See Also
Previous page Top Next page