![background image](http://html2.mh-extra.com/html/racal-instruments/7064/7064_instruction-manual_3127022072.webp)
' GOSUB pauseroutine
CLS
GOSUB resetbit
LOCATE 2, 26: PRINT "OUTPUT BIT TEST"
LOCATE 20, 10: PRINT "Running Walking One patern"
FOR port = 0 TO 11
RESTORE highbit
IF port >= 1 T H E N
wrt3$ = "outportb(" + STR$(port - 1) + ",0);"
C A L L ibwrt(bd%, wrt3$)
END IF
FOR bit = 0 TO 7
GOSUB wrtbit
GOSUB rdbit
GOSUB rdports
NEXT bit
NEXT port
CLS
GOSUB setbit
LOCATE 2, 26: PRINT "OUTPUT BIT TEST"
LOCATE 20, 10: PRINT "Running Walking Zero patern"
FOR port = 0 TO 11
RESTORE lowbit
IF port >= 1 T H E N
wrt3$ = "outportb(" + STR$(port - 1) + ",0);"
CALL ibwrt(bd%, wrt3$)
END IF
FOR bit = 0 TO 7
GOSUB w r t b i t l
GOSUB rdbitl
GOSUB rdportl
NEXT bit
NEXT port
CLS
LOCATE 2, 26: PRINT "OUTPUT B I T TEST"
IF noerror = 0 THEN PRINT "OUTPUT B I T TEST PASSED"
IF noerror = 1 T H E N PRINT "OUT[UT BIT TEST FAILED"
GOSUB pauseroutine
CLS
t = 0
RETURN
pauseroutine:
' pause routine for subroutines
6-7
Содержание 7064
Страница 2: ...Racal Instruments...
Страница 6: ...I 1 1 1 1 1...
Страница 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Страница 29: ...I I I I I I I I I I I I I I I I I I I...
Страница 57: ...1 I I I I I I I I I I I I I I I I I I...
Страница 77: ...1...
Страница 111: ...0 00 0 00 tI I 4 0 0 I7 r i 6 4 7 4 7 0 T 6 0 0 7 28...
Страница 112: ......
Страница 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Страница 115: ...7 32...
Страница 124: ...CO 0 L5 F 4 BEAD 2 A C8 1 0 1 uF C9 01 uF T 0 1 uF 01 uF E12 0 IIIIII M I 11111 V I E M I 111111 I I I I I I N M I I...
Страница 148: ......
Страница 164: ...I I I I I I I I I I 1 I I I I I I I I...
Страница 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...