Navigation bar
  Start Previous page
 319 of 323 
Next page End  

ZBasic System Library
309
ZX Microcontroller Family
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