Blank Screen on TTGO Display?

Started playing with display recently, purchased a Lilygo T-Display. Followed Volos guide on Youtube, loaded appropriate libraries and its been running with no problem.

Decided to play with some of the example files in TFT_eSPI . I have edited User_Setup_Select.h to only include #include <User_Setups/Setup25_TTGO_T_Display.h> // Setup file for ESP32 and TTGO T-Display ST7789V SPI bus TFT

But when I try to compile and upload the font example in TFT_Esp I have a black screen after it runs I get the following message

loading library from c:\Users\Overlord\Documents\Arduino\libraries\T-Display-S3-main: invalid library: no header files foundloading library from c:\Users\Overlord\Documents\Arduino\libraries\TTGOWeatherStation-main: invalid library: no header files found

Where or what is directing it to TTGOWeatherStation-main when compile the Font example sketch?

can you give a link to the Lilygo T-Display you are using?

I just cant figure out what in the Font example file would be directing the compiler to look in the two unrelated folders, I do not see either of the folders listed in the Font example file. I am sure its something I have changed when working with the tdisplay s3 board but cannot for the life of me remember where I would have made the change

have a look at Xinyuan-LilyGO/TTGO-T-Display or LibDriver for the st7789 controller

I have followed the instructions on the lillygo git hub page to the letter with same results, I get the error message that the compiler is looking for files in two folders that have nothing to do with the example sketch I am trying to compile

I copied TFT_eSPI to the Documents\Arduino\libraries directory
opened Documents\Arduino\libraries\TFT_eSPI\examples\Factory Test\Factory Test.ino
selected board LiLyGo T-Display (or ESP32 Dev Module) and it compiled and linked OK with a couple of warnings

Sketch uses 889321 bytes (67%) of program storage space. Maximum is 1310720 bytes.
Global variables use 45444 bytes (13%) of dynamic memory, leaving 282236 bytes for local variables. Maximum is 327680 bytes.

I don't have T-Display so cannot run it to test

I am sure there is something very simple I am failing to do. The TFT_eSPI file is in the Lib folder at the following path

C:\Users\Overlord\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.h


Error message when attempted as ESP32 dev board

#include <TFT_eSPI.h>
^~~~~~~~~~~~
compilation terminated.

Error message when I attempt as Lilygo T-Display

C:\Users\Overlord\Documents\Arduino\libraries\TFT_eSPI\examples\FactoryTest\FactoryTest.ino:1:10: fatal error: TFT_eSPI.h: No such file or directory
#include <TFT_eSPI.h>
^~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: TFT_eSPI.h: No such file or directory

have you set up the File>Preferences as specified in installing-the-esp32-board-in-arduino-ide-windows-instructions

Yes and have successfully, flashed somewhere over 35 diff esp32 boards in the past few months, including this one until yesterday. I will watch video and go thru the motions again in the event I have changed something.

Here are the links that are in my preferences, additional board manager window

https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
https://dl.espressif.com/dl/package_esp32_index.json

https://raw.githubusercontent.com/RAKwireless/RAKwireless-Arduino-BSP-Index/main/package_rakwireless_index.json

which version of IDE? mine is 2.3.2
my preferences

http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
https://raw.githubusercontent.com/sparkfun/Arduino_Boards/main/IDE_Board_Manager/package_sparkfun_index.json

the TFP_eSPI directory
image

Many Thanks for the help, I deleted a couple of libraries and downloaded again and I am back up and running. I some how did not have admin priv, still trying to (learn)operate in win11

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.