introvoyz041's picture
Migrated from GitHub
a2a15a2 verified
raw
history blame contribute delete
305 Bytes
10 REM "Master reader from Arduino examples"
20 REM ""
100 REM "the setup()"
110 PRINT "Open master mode on port 8"
120 OPEN &7, 8
200 REM "the loop()"
210 REM "request 6 byte from the slave"
220 FOR I
230 @S=0
240 INPUT &7, #6, A$
250 IF @S THEN PRINT "Data error" ELSE PRINT A$
260 DELAY 500
270 NEXT