Provides the ability to clear the EEPROM memory. More...
#include <EEPROM-Util.h>
Public Member Functions | |
void | clearEEPROM (uint value=UNSET_VALUE) |
Resets the contents of EEPROM to the value specified. | |
void | updateEEPROM (uint address, byte value) |
Provides a unified method od writing to the EEPROM on multiple platforms.alignas. | |
Provides the ability to clear the EEPROM memory.
Definition at line 44 of file EEPROM-Util.h.
|
inline |
Resets the contents of EEPROM to the value specified.
Writes the byte specified by the parameter value to every memory location in EEPROM. If value is not specified then UNSET_VALUE is used which is defined s 0xFF.
value | The value to write to the EEPROM. |
Definition at line 55 of file EEPROM-Util.h.
|
inline |
Provides a unified method od writing to the EEPROM on multiple platforms.alignas.
This method prefers usage of EEPROM.update() over EEPROM.write() to reduce the number of writes to EEPROM memory.
address | The address in EEPROM to write the value in. |
value | The value to write to the EEPROM. |
Definition at line 71 of file EEPROM-Util.h.