Advantech PCM-5823 Series Manual page 123

Ns geode single board computer with cpu svga/lcd, dual ethernet interface
Table of Contents

Advertisement

The following program shows how you might program the
watchdog timer in BASIC:
10
20
30
40
50
60
70
1000
.
.
.
1070
2000
.
.
.
2090
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
REM
Watchdog timer example program
X=Out &H443, 1 REM
watchdog
GOSUB 1000 REM
complete
X=Out &H443, 1 REM
GOSUB 2000 REM
complete
X=Out &H443, 0 REM
END
REM
Subroutine #1, takes 1 second to
complete
RETURN
REM
Subroutine #2, takes 1 second to
complete
RETURN
Appendix E Programming the Watchdog Timer
Enable and refresh the
Task #1, takes 1 second to
Refresh the watchdog
Task #2, takes 1 second to
Disable the watchdog
111

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pcm-5823-d0a1Pcm-5823-g0a1

Table of Contents