File size: 305 Bytes
a2a15a2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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
|