hi,
when a data array is defined and initialized within a header file, will those data automatically be stored within flash memory, or is it necessary to define the data as PROGMEM?
SupArdu
hi,
when a data array is defined and initialized within a header file, will those data automatically be stored within flash memory, or is it necessary to define the data as PROGMEM?
SupArdu
will those data automatically be stored within flash memory
Yes.
or is it necessary to define the data as PROGMEM?
Using the PROGMEM attribute keeps the compiler from copying the data from flash to SRAM at run time.