aivolts.tmb for the IC51 Displays all eight analog inputs as voltage from 0-5. Exit if key pressed. ------------------------------- NEW 1 A=KEY --- continue if no key pressed 2 IF A=0 5 3 END --- start with input 1 5 E=1 --- do 8 inputs 10 LOOP 8 --- select input 11 SELAI E --- read the input 12 READAI --- convert value to voltage and --- place in specific variables 13 BAVOLTS --- display voltage 20 PRINT A 21 PRINT "." 22 PRINT B 23 PRINT C 24 PRINT D 25 PRINT " " --- next input 30 A=E 31 A=A+1 32 E=A --- next loop 35 ENDLOOP --- new line 40 PRINT 13 41 PRINT 10 --- wait a bit 42 DELAY 1 --- repeat 43 GOTO 1