OpenWatchdog(8/9) Fails
Posted: 14 July 2008, 17:20 PM
The following program works correctly on ZX-24n, ZX-24ne, and ZX-1281e. However if 8 or 9 is used as a parameter to OpenWatchdog then the processor continually resets itself.
Code: Select all
Sub Main()
Debug.Print "start"
Call OpenWatchDog(7)
Do
Call WatchDog()
Call Sleep(2.0)
Debug.Print "wakeup"
Loop
End Sub