Hi,
I'm using the Adafruit QT Py - SAMD21 with the Adafruit 1.3" 240x240 Wide Angle TFT LCD.
The code development is done with Platform IO. Using the Adafruit_ST7789 and Adafruit_GFX libraries, I'm able to display letters on the LCD.
Has anyone gotten the TFT_eSPI library to work with Adafruit QT Py - SAMD21 with the Adafruit 1.3" 240x240 Wide Angle TFT LCD in Platform IO? I'm getting bunch of compiling errors simply by adding the library.
Alternatively, is it possible to display an image from a header file using the Adafruit_ST7789 and Adafruit_GFX libraries? Similar to what this example is showing: https://www.hackster.io/usini/display-i ... een-fbb0d7
TFT_eSPI with Adafruit 1.3" 240x240 Wide Angle TFT LCD?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- leafon
- Posts: 32
- Joined: Thu Sep 22, 2022 12:40 am
- mikeysklar
- Posts: 13945
- Joined: Mon Aug 01, 2016 8:10 pm
Re: TFT_eSPI with Adafruit 1.3" 240x240 Wide Angle TFT LCD?
Can you run the graphictest example on the display with the Arduino IDE? That way we can confirm the stock setup Adafruit tests with is working for you.
https://github.com/adafruit/Adafruit-ST ... cstest.ino
https://github.com/adafruit/Adafruit-ST ... cstest.ino
- leafon
- Posts: 32
- Joined: Thu Sep 22, 2022 12:40 am
Re: TFT_eSPI with Adafruit 1.3" 240x240 Wide Angle TFT LCD?
Hi Mikey,
I'm not using the Arduino IDE. I'm using VS Code with PlatformIO.
I'm not using the Arduino IDE. I'm using VS Code with PlatformIO.
- leafon
- Posts: 32
- Joined: Thu Sep 22, 2022 12:40 am
Re: TFT_eSPI with Adafruit 1.3" 240x240 Wide Angle TFT LCD?
I got it working using the drawRGBBitmap function in Adafruit_GFX instead of the pushImage function in TFT_eSPI.
Please be positive and constructive with your questions and comments.