10 'I2C EEPROM TEST 1
20 CLS:CLV
30 'A #8CC
40 B="I2C EEPROM TEST"
50 ?"#";HEX$(B),STR$(B)
60 WAIT 60
70 C=#800 :'[0]
80 L=LEN(B)
90 POKE #8CC,0,0
100 R=I2CW(80,#8CC,2,B,L)
110 ?"#";HEX$(C),STR$(C)
120 WAIT 60
130 R=I2CR(80,#8CC,2,C,L)
140 ?"#";HEX$(C),STR$(C)
10 'I2C EEPROM TEST 2
20 CLS
21 FORI=33TO255:?CHR$(I);:NEXT
30 'A #8CC
40 B=#900
70 C=#900+32*10
80 L=128
90 POKE #8CC,0,0
100 R=I2CW(80,#8CC,2,B,L)
120 WAIT60
130 R=I2CR(80,#8CC,2,C,L)
150 LC0,20