mirror of
https://github.com/RobTillaart/I2C_EEPROM.git
synced 2026-07-27 20:06:07 +00:00
98235dfd82743fc439180e2b3fe701590cce67eb
I2C_eeprom * Added page sizes for larger memory sizes (still deriving from the ATxxCxxx datasheets) I2C_eeprom_cyclic_store * Add the cyclic store implementation. * Add an example for cyclic use of EEPROM. * Update keywords.txt for syntax highlighting the new class and it's members. * Changed signature of begin() to match page size data type. * Add getMetrics() to have an indication about lifetime
I2C_EEPROM
Arduino Library for external I2C EEPROM - 24LC256, 24LC64
Description
Library to access external I2C EEPROM.
The interface is pretty straightforward
- begin() constructor
- begin(sda, scl) constructor for ESP32
- writeByte(address, value) write a single byte
- writeBlock(address, buffer, length)
- setBlock(address, value, length) e.g. use to clear I2C EEPROM
- readByte(address) - read a single byte from a given address
- readBlock(address, buffer, length)
- updateByte(address, value) write a single byte, but only if changed.
- determineSize()
Limitation
The library does not offer multiple EEPROMS as one continuous storage device.
Operational
See examples
Languages
C++
100%