I have an array of colors for my tft screen:
const uint16_t colorTheme [] PROGMEM = {BLACK, WHITE, NAVY, CYAN, RED, GREEN, VERDEAQ, PINK, ORANGE, PURPLE, GRAY, YELLOW};
When I try to use colorTheme [EEPROM.read (2500)]
I am returned with a value of any garbage, or a value of 0, and I checked it in read_eeprom and the value of EEPROM.read (2500)
is equal to 4, and 4 in mine vector is cyan color, not black or 0 number, why does this go so wrong?