Drawing text, circle, and square on SMP2807 display using TF

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
BlackWhiteFang
 
Posts: 59
Joined: Wed Oct 21, 2020 11:33 am

Drawing text, circle, and square on SMP2807 display using TF

Post by BlackWhiteFang »

I have been trying to draw text, a filled circle and a filled square on my MSP2807, ILI9341 TFT SPI display using Bodmer's TFT_eSPI Library. I don't know that I am missing, or what I am doing wrong. I am using an ESP32 Development Module to drive the MSP2807 display.

The connections between the display and the ESP32 are attached.

I have written a sketch using the Adafruit GFX Library, which does draw the text, a filled circle and a filled square. The file for this sketch is the second attachment. This sketch works just fine.

I have written a TFT_eSPI sketch which parallels the Adafruit GFX library sketch. It does not work. Why not? This is the third attachment.

Best wishes
Attachments

[The extension ino has been deactivated and can no longer be displayed.]


Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”