EasyManua.ls Logo

NEC PC-8201 - Page 76

NEC PC-8201
136 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(7)
IN/OUT C8H Operation Test
(
Preparation
)
Connect the pin
2
of the RS-232C connector with the pin 3.
(See Figure
5.21
"Pin connection" of item "RS-232C Interface Operating Test".
By
executing the test program in Figure
5.44,
you can confirm the signal shown in
Figure
5.45
in
U21
(P12).
10 OUT 144,192:OUT 216,3
20 OUT 183,3 :OUT 189,64:PRINT CHRS(12)
30 A=9
:OUT
200 ,A:B=INP(200>
48
IF
AOB GOT0 80
ELSE
PRINT
B;
78
GOT0 30
80 PRINT "ERROR"
Figure
5.44
Test
Program
-
/
Start
bir
Figure
5.45
Signal in
U21
(PI21
-
f
-
-
/-50ps
-
DO
-
-
-
-
-
-
- -
-
-
-D7
Data