Hi,
I'm using nano and 1.8 tft lcd
const uint16_t PROGMEM screen[]={
0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x0fff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x5fdf, 0x9f9e, 0xaf9c, 0xa77b, 0xa77b, 0xaf5a, 0xb739, 0xb739, 0xb739, 0xb759, 0xb759, 0xb77a, 0xaf7c, 0xa77c, 0x9f7e, 0x8f9f, 0x57bf, 0x17ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, };
uint16_t screen2[]= {
0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x0fff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x5fdf, 0x9f9e, 0xaf9c, 0xa77b, 0xa77b, 0xaf5a, 0xb739, 0xb739, 0xb739, 0xb759, 0xb759, 0xb77a, 0xaf7c, 0xa77c, 0x9f7e, 0x8f9f, 0x57bf, 0x17ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff, 0x07ff,};
tft.drawPixel(col, row, pgm_read_word(array_name+ buffidx));
array name = screen is working
array name = screen2 not working.
Why ? How its work ? Thank you....