I2C EEPROM

Hi all,

I am trying to write and read to a I2C EEPROM AT24C512. In one sketch, if I write then immediately read, there show correct result. But if I use 1 sketch to write data, use another sketch to read data, there show incorrect result.

Is there any library for Arduino to interface with I2C EEPROM?

Yep.

Take a look: Wire - Arduino Reference

I use it to communicate with a I2C Real Time Clock. And really it works!

GuoHui,

It is better to only post in one section of the forum.
(I answered in the Hardware-Interfacing section.)