Replies: 3 comments 1 reply
-
The library can handle that image type with the pushImage function. Just replace the functions so instead of: tft.drawRGBBitmap( 100, 20, (uint16_t *)phase_000.pixel_data, 80, 80); |
Beta Was this translation helpful? Give feedback.
-
Thanks Bodmer, but that didn't quite do it. Regards |
Beta Was this translation helpful? Give feedback.
-
That's got it. Thank you so much. |
Beta Was this translation helpful? Give feedback.
-
OK, I’m trying to use this sketch:
https://github.com/CelliesProjects/moonPhase-esp32/blob/master/examples/esp32/ILI9341/ILI9341.ino
But with TFT_eSPI instead of Adafruit_ILI9341.
The pictures are stored as RGB565 (16-bit) but TFT_eSPI expects an 8 bit value here.
Is this correct?
What is the best way around this please?
Thanks and regards.
Beta Was this translation helpful? Give feedback.
All reactions