Hi there,
Something I notice that appears to be a common OVERSITE when using or testing with the
TFT_eSPI lib. The examples include a Diagnostic from the Author that is meant to be run after the edits are made to verify what the LIB recognises as setup.
“READ_USER_SETUP.ino”
Do not proceed further if it doesn’t look like it should or if it does NOT run at all , it means you knurled it Up.
You should receive a serial output like this:
[code]
TFT_eSPI ver = 2.5.23
Processor = ESP32
Frequency = 160MHz
Transactions = Yes
Interface = SPI
Display driver = 9A01
Display width = 240
Display height = 240
MOSI = GPIO 10
MISO = GPIO 9
SCK = GPIO 8
TFT_CS = GPIO 3
TFT_DC = GPIO 5
TFT_BL = GPIO 21
Font GLCD loaded
Font 2 loaded
Font 4 loaded
Font 6 loaded
Font 7 loaded
Font 8 loaded
Smooth font enabled
Display SPI frequency = 40.00
[/code]
This is the process I use and it get’s me there EVERY Time!
HTH
GL PJ