Hi Picers,
does anyone have experience in handling
an EEPROM 24LC256 via I2C.
I try writing / reading this device
with:
Example for write:
i2cwrite sda1, scl1, $a0, 10, [STR date\10] 'Writes at starting position 10 the array date(10)
pause 10
i2cwrite sda1, scl1, $a0, 50, [amp1_port] 'Writes one byte to position 50
pause 10
Example for read:
i2cread sda1, scl1, $a0, 10, [STR date\10] 'Reads at starting position 10 the array date(10)
pause 10
i2cread sda1, scl1, $a0, 50, [amp1_port] 'Reads one byte from posiotion 50
pause 10
Can somebody help?
Best Regards, Ralf
Bookmarks