i have converted 2 const unsigned uint16 progmen 1 for corner 2 for edge (uno cant handle 3 so i wanna rotate them) but i failed i try 25 times
void drawBitmap(int x, int y, int sx, int sy, uint16_t *data)
{
int tc = 0;
for(int Y = 0; Y < sy; Y++)
{
for(int X = 0; X < sx; X++)
{
tft.drawPixel(X+x, Y+y, pgm_read_word(&data[tc]));
if(tc < (sx*sy)) tc++;
}
}