1A table or an image is bigger than the flash
A constant table stored with PROGMEM sits in flash. A very large one fills it alone. Keep fewer values, or compress them.
#include <avr/pgmspace.h>
const uint8_t table[40000] PROGMEM = {1, 2, 3};
void setup() {
Serial.begin(9600);
Serial.println(pgm_read_byte(&table[1]));
}
void loop() {
}#include <avr/pgmspace.h>
const uint8_t table[4000] PROGMEM = {1, 2, 3};
void setup() {
Serial.begin(9600);
Serial.println(pgm_read_byte(&table[1]));
}
void loop() {
}Mokxi’s build tab says: The program is bigger than the 32 KB of flash this board has