chipKIT® Development Platform

Inspired by Arduino™

Proper way to store an array in flash memory?

Created Sun, 09 Dec 2012 00:12:27 +0000 by snovich


snovich

Sun, 09 Dec 2012 00:12:27 +0000

I have a big table of constant ints that i'd like to story in flash.

Is the correct way to use PROGMEM? or define the array as a const?

Thanks! -S


Jacob Christ

Mon, 17 Dec 2012 21:17:46 +0000

With the chipKIT platform you can just use a const. PROGMEM is an Arduino (AVR) workaround.

Jacob