Extended EEPROM Library for Arduino

The first post here on was an article including some code to print the EEPROM contents in a hex dump on an Arduino to the serial port.

I’ve now built that functionality into a library to replace the EEPROM library. You can now sent the hex dump to any stream (software serial, second hardware serial, etc).

Another handy feature is a set method which works similar to memset. If you need to clear a number of bytes, or set them to a single value this function keeps you from having to implement yourself, and it has some simple bounds checking in case you forget.

The library can be found on GitHub here: E2PROM

Be sure to check out the examples for some usage details.

Comments are closed.