This bitmap drawing example always draws at 0, 0 regardless of the x and y setting.
I believe this is due to the following line:
tft.writeRect(0, row, w, 1, awColors);
By altering this to
tft.writeRect(x, row+y, w, 1, awColors);
The bitmap is drawn correctly to the desired location in the screen.
This bitmap drawing example always draws at 0, 0 regardless of the x and y setting. I believe this is due to the following line:
tft.writeRect(0, row, w, 1, awColors);
By altering this to
tft.writeRect(x, row+y, w, 1, awColors);
The bitmap is drawn correctly to the desired location in the screen.