Download Print this page

Decision Computer International Watch dog 1 Operation Manual page 15

Timer card

Advertisement

Operations Manual
5.1 Developing Software
Developing software on watch dog is very simple. Below are the
sample programs under different programming languages:
1. EXAMPLE PROGRAM USING BASIC:
REM
REM WDSIMPLE.BAS -> Simple Program for Watchdog (I and
II)
REM Program by Edgardo A Regodon Jr(SrSE)
REM of Decision Asia Inc. (Phil.)
REM
DIM UserChoice AS STRING * 1
DIM WDAddress AS INTEGER
DIM status AS STRING * 1
DIM Feedback AS STRING * 1
DIM Counter1 AS INTEGER
DIM counter2 AS INTEGER
status = "F"
CLS
PRINT "Please Enter the address of Watch Dog Card (I/II) in
decimal"
PRINT "Address Range from 0 to 4094"
INPUT "Watch Dog address is: ", WDAddress
Inquire:
CLS
PRINT ("Menu Choices")
PRINT ("1] Enable/Disable")
DECISION Computer International
Watch dog timer card
' Variable Declaration
' Get The Watch Dog Address
' Main Menu
15

Advertisement

loading
Need help?

Need help?

Do you have a question about the Watch dog 1 and is the answer not in the manual?

This manual is also suitable for:

Watch dog 2