I2C EEPROMs library for Arduino
What is it?
This library (with examples) is designed to be integrated in projects using I2C EEPROM. It can read and write data from I2C EEPROMs. It has been fully tested with 24LC256 device but should work with others.
How to install
Download latest release
On your Arduino IDE, click "Sketch" menu and then "Include Library > Add .ZIP Libraries"
You can now use the library for your project or launch an example ("File > Examples")
How to connect I2C EEPROM to arduino
Most of I2C EEPROMs are connected the same way.
Here are the pin connections for 24LC256 device:
|Others||GND (-> I2C address = 0x50)|
Three examples are provided with this library:
Simple Read through all EEPROM
Simple Write though all EEPROM
Check consistency of the EEPROM
This project is under MIT license. This means you can use it as you want (just don't delete the library header).
If you want to add more examples or improve the library, just create a pull request with proper commit message and right wrapping.