2 / 2 6 / 2 0 0 2 2 : 0 6 P M 2 / 2 6 / 2 0 0 2
1 5 9
N M I L - 4 0 0 4 1 - C H A N N E L , 1 2 - B I T A / D
F O R T H S A M P L E C O D E
COLD
HEX
: CAL ( -- )
0 FFE0 C!
BEGIN
0 FFE2 C!
100 0 DO LOOP
FFE2 @ 10 / FFF AND U.
?TERMINAL
UNTIL
;
: DELAY ( -- ) 100 0 DO LOOP ;
: TEST ( -- )
CR BEGIN
0 FFE0 C! 0 FFE2 C! DELAY FFE2 @ 10 / FFF AND U.
1 FFE0 C! 0 FFE2 C! DELAY FFE2 @ 10 / FFF AND U.
2 FFE0 C! 0 FFE2 C! DELAY FFE2 @ 10 / FFF AND U.
3 FFE0 C! 0 FFE2 C! DELAY FFE2 @ 10 / FFF AND U.
4 FFE0 C! 0 FFE2 C! DELAY FFE2 @ 10 / FFF AND U.
5 FFE0 C! 0 FFE2 C! DELAY FFE2 @ 10 / FFF AND U.
6 FFE0 C! 0 FFE2 C! DELAY FFE2 @ 10 / FFF AND U.
7 FFE0 C! 0 FFE2 C! DELAY FFE2 @ 10 / FFF AND U. CR
?TERMINAL
UNTIL
KEY DROP
;
DECIMAL
: SCALE-1V ( u -- r ) 1 * 0 41 UM/MOD SWAP DROP ;
: SCALE-10V ( u -- r ) 10 * 0 41 UM/MOD SWAP DROP ;
: SCALE-20V ( u -- r ) 20 * 0 41 UM/MOD SWAP DROP ;
HEX
: CH-0 ( -- ) 0 FFE0 C! ;
: CH-1 ( -- ) 1 FFE0 C! ;
: CH-2 ( -- ) 2 FFE0 C! ;
: CH-3 ( -- ) 3 FFE0 C! ;
: CH-4 ( -- ) 4 FFE0 C! ;
: CH-5 ( -- ) 5 FFE0 C! ;
: CH-6 ( -- ) 6 FFE0 C! ;
: CH-7 ( -- ) 7 FFE0 C! ;
: CH-0A ( -- ) 0 FFE1 C! ;
: CH-1A ( -- ) 1 FFE1 C! ;
: CH-2A ( -- ) 2 FFE1 C! ;
: CH-3A ( -- ) 3 FFE1 C! ;
: CH-4A ( -- ) 4 FFE1 C! ;
: CH-5A ( -- ) 5 FFE1 C! ;
: CH-6A ( -- ) 6 FFE1 C! ;
: CH-7A ( -- ) 7 FFE1 C! ;
: START-12-BIT ( -- ) 0 FFE2 C! ;
: START-12-BIT-A ( -- ) FF FFE2 C! ;
: START-8-BIT ( -- ) 0 FFE3 C! ;
Summary of Contents for NMIY-0031
Page 1: ...2 2 6 2 0 0 2 2 0 6 P M 1 NMIY 0031 Single Board Computer Covers NMIY 0031 V1 0 4 22 96 ...
Page 2: ...2 2 6 2 0 0 2 2 0 6 P M 2 ...
Page 6: ...2 2 6 2 0 0 2 2 0 6 P M 6 ...
Page 8: ...2 2 6 2 0 0 2 2 0 6 P M 8 ...
Page 14: ...2 2 6 2 0 0 2 2 0 6 P M 1 4 ...
Page 30: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 3 0 ...
Page 32: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 3 2 ...
Page 50: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 5 0 ...
Page 52: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 5 2 ...
Page 54: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 5 4 ...
Page 56: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 5 6 ...
Page 58: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 5 8 ...
Page 60: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 6 0 ...
Page 62: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 6 2 ...
Page 68: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 6 8 ...
Page 70: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 7 0 ...
Page 72: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 7 2 ...
Page 76: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 7 6 ...
Page 82: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 8 2 ...
Page 84: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 8 4 ...
Page 86: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 8 6 ...
Page 88: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 8 8 ...
Page 90: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 9 0 ...
Page 102: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 0 2 ...
Page 108: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 0 8 ...
Page 110: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 1 0 ...
Page 114: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 1 4 ...
Page 118: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 1 8 ...
Page 126: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 2 6 ...
Page 128: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 2 8 ...
Page 134: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 3 4 ...
Page 148: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 4 8 ...
Page 150: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 5 0 ...
Page 152: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 5 2 ...
Page 154: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 5 4 ...
Page 156: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 5 6 ...
Page 168: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 6 8 ...
Page 170: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 7 0 ...
Page 172: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 7 2 ...
Page 174: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 7 4 ...
Page 178: ...2 2 6 2 0 0 2 2 0 6 P M 2 2 6 2 0 0 2 1 7 8 ...