EEPROM

length()

EEPROM.length, length

Returns the total number of bytes available in the emulated EEPROM.

// SYNTAX
size_t length = EEPROM.length();
  • The Gen 2 (Photon, P1, Electron, and E-Series) have 2047 bytes of emulated EEPROM.
  • The Gen 3 (Argon, Boron, B-Series SoM, Tracker SoM) devices have 4096 bytes of emulated EEPROM.