Files
I2C_EEPROM/README.md
T
Rob TillaartandGitHub 5e12716b9c add example (#7)
Added updateByte() + example + versie 1.3.1
2020-12-22 13:22:44 +01:00

1.1 KiB

Arduino CI License: MIT GitHub release

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