Go Down

Topic: Another EEPROM tool (Read 378 times) previous topic - next topic


Hi all,

I recently had to use the EEPROM memory for the first time, and felt the need to write a bunch of function to simplify matters somewhat.

The reason for this is that I'm a little pedantic when it comes to code maintenance, so the manual address management didn't really speak to me. I therefore wrote a little tool that does this for you at compile time, to avoid wasting MCU resources while running.

Of course, I had no previous experience with this so it might have been a complete waste of my time. I therefore would like some feedback on these ideas.

It can be downloaded from http://www.codeproject.com/Tips/1018664/Arduino-Static-EEPROM-memory-management, which also has a brief description on how to use it. The implementation uses some light metaprogramming techniques only available for C++11 so your compiler has to be configured for this.

Please let me know what you think!

Go Up