Hi All,
I'm working on a project that will display an color image matrix that I have stored in progmem. Is this possible? Here are the details that hopefully are help:
#include <Adafruit_ST7735.h>
#include "bitmaps.h"
#include <Adafruit_SPITFT.h>
I have a bitmaps.h file containing the image:
const unsigned char bitmapImage [] PROGMEM =
{ 0x00, 0xFF, 0x3A, etc };
I am then confused on how to display it. I have done a black and white image no problem. But can't figure out the colored image. Here's how I did the black and white:
tft.fillRect(0,0,128,128,ST77XX_WHITE);
tft.drawBitmap(0,0,bitmapImage,128,128,ST77XX_BLACK);
The board does not have an SD card slot.
This is my first arduino project and still getting a feel for the lay of the land. Any and all help is appreciated! i've read this pdf and it appears it's not possible? I'm wondering if I have to just draw each pixel individually with its respective color? But that seems awfully difficult.. surely there's a way around this?