Datasheet
You can draw as many images as you want — though remember the names must be less than 8 characters long. Call
like so:
'x' and 'y' are pixel coordinates where top-left corner of the image will be placed. Images can be placed anywhere on
screen…even partially off screen, the library will clip the section to load.
Image loading is explained in greater depth in the Adafruit_GFX library guide. (https://adafru.it/DpM)
ImageReturnCode stat;
stat = reader.drawBMP("/purple.bmp", tft, 0, 0);
reader.drawBMP(filename, tft, x, y);
© Adafruit Industries https://learn.adafruit.com/adafruit-2-8-tft-touch-shield-v2 Page 23 of 26