To save RAM on your Arduino You can annotate immutable variables like lookup tables or strings with the PROGMEM keyword. The data will be stored in program memory.

const dataType variableName[] PROGMEM = {data0, data1, data3…​};

Leave a Reply

Your email address will not be published. Required fields are marked *