This link https://learn.adafruit.com/adafruit-2-8-tft-touch-shield-v2/drawing-bitmaps shows how to draw a bitmap on adafruit tft screen.
I would like to use this capability but I don't know how to write the inline C for this function reader.drawBMP.
Also, are these definitions included in the b4r libraries (adafruit_GFX and mcufriends_kbv which are used in the existing drawing programs that I use) or needed in the code ? will they work together or contradict ?
Thanks
I would like to use this capability but I don't know how to write the inline C for this function reader.drawBMP.
Also, are these definitions included in the b4r libraries (adafruit_GFX and mcufriends_kbv which are used in the existing drawing programs that I use) or needed in the code ? will they work together or contradict ?
B4X:
#define SD_CS 4 // SD card select pin
#define TFT_CS 10 // TFT select pin
#define TFT_DC 9 // TFT display/command pin
Last edited: