User Manual version 2305

The Digital I/O is of TTL interface. It is controlled via software programming.

Digital I/O Programming

Input/output address:

208H

In_Data 0~3=SD0~SD1

 

Out_Data 0~3 SD4~SD7

 

EXAMPLE:

 

10

REM Digital I/O example program

20

X = INP (&H208)

REM INPUT Digital I/O port

 

 

for 4 bit

30

X = OUT (&H208)

REM OUTPUT Digital I/O port

 

 

for 4 bit

60END

100Return

Port 208H Definition

APOLLO 120/150 III

4-49

Page 59
Image 59
Apollo 150 III, 120 III user manual Digital I/O Programming, Example