Go Down

Topic: Read big array from header file (Read 1 time) previous topic - next topic



const uint16_t name[] = //78*40=3120 items in array


You have an 2K RAM, putting more than say 1,7Kb of data in the ram will likely kill your arduino programm because the stack will be corrupted by data and it will just have an erratic behaviour, as said, google for avr progmem and learn how to use it, that will move the data from the ram to the flash memory.


Got it working
my stupid assumption was that using PROGMEM the data will be stored in sram
sorry for your time wasted with me

Go Up