Read more

[UPDATE] Comprehensive Arduino Flash Memory via PROGMEM

[Updated for arduino v1.6] This post is a huge set of PROGMEM examples (done as unit tests) which you can freely copy and paste into your work.

The readership level is set at those who are already familiar with the arduino PROGMEM documentation here and the use of the F() macro and __FlashStringHelper*

Its designed as a reference to save you the “lets see how to make this work” time and communicate common pitfalls. Search for the method you need to use, and see it running in working tested code

Read more

Comprehensive Example Code Demonstrating using Arduino Flash Memory via PROGMEM

The post is a huge set of PROGMEM examples (done as unit tests) which you can freely copy and paste into your work.

The readership level is set at those who are already familiar with the arduino PROGMEM documentation here and the use of the F() macro and __FlashStringHelper*. Its designed as a reference on how to accomplish many different common tasks in PROGMEM , from standard string functions, to structures and arrays. The idea is to save you the “lets see how to make this work” time and communicate common pitfalls.