
Appendix A Programming the Watchdog Timer
59
The following example shows how you might program the watchdog
timer in BASIC:
10
REM
Watchdog timer example program
20
X=Out &H443,1 REM
Enable and refresh the
watchdog
30
GOSUB 1000 REM
Task #1, takes 1 second to
complete
40
X=Out &H443,1 REM
Refresh the watchdog
50
GOSUB 2000 REM
Task #2, takes 1 second to
complete
60
X=Out &H443,0 REM
Disable the watchdog
70
END
1000
REM
Subroutine #1, takes 1 second to complete
.
.
.
1070
RETURN
2000
REM
Subroutine #2, takes 1 second to complete
.
.
.
2090
RETURN
Summary of Contents for PCM-5335
Page 1: ...PCM 5335 All In One NS Geode GX1 with SVGA LCD Ethernet Interface PC 104 CPU Module ...
Page 10: ......
Page 16: ...6 PCM 5335 User s Manual ...
Page 29: ...Chapter 2 Installation 19 ...
Page 30: ...20 PCM 5335 User s Manual ...
Page 36: ...26 PCM 5335 User s Manual ...
Page 37: ...Award BIOS Setup This chapter describes how to set BIOS configuration data C H A P T E R 4 ...
Page 48: ...38 PCM 5335 User s Manual ...
Page 55: ...SVGA Setup Introduction Installation of SVGA driver for Win dows 95 98 NT C H A P T E R 6 ...
Page 60: ...50 PCM 5335 User s Manual 6 Choose Yes then click Finish to restart the computer ...
Page 62: ...52 PCM 5335 User s Manual 3 Press the Change button 4 Click on the Have Disk button ...
Page 64: ...54 PCM 5335 User s Manual 7 Press Yes to proceed 8 Press OK to reboot ...
Page 70: ...60 PCM 5335 User s Manual ...
Page 85: ...Appendix C Pin Assignments 75 Figure C 1 CompactFlash socket ...
Page 88: ...78 PCM 5335 User s Manual ...
Page 94: ...84 PCM 5335 User s Manual ...