Add the following two DEFINEs to your code
Declare and use the following constants as reading and writing control.Code:DEFINE I2C_SLOW 1 DEFINE I2C_HOLD 1
You should have all the address inputs grounded.Code:SDevW con %10100000 ' I2C eeprom write control SDevR con %10100001 ' I2C eeprom read control
Al.




Bookmarks