已解决! 转到解答。
Hello,
the I2C example should work for you without any change. 24C02 has the same page size and the example doesn't access memory at addresses above 2 kB. Just check whether you have set the same HW address of the memory (A0=A1=A2=0), otherwise change I2C_EEPROM_ADDRESS in eeprom.h.
Regards,
PetrM
Hello,
the I2C example should work for you without any change. 24C02 has the same page size and the example doesn't access memory at addresses above 2 kB. Just check whether you have set the same HW address of the memory (A0=A1=A2=0), otherwise change I2C_EEPROM_ADDRESS in eeprom.h.
Regards,
PetrM