Arduino IDE still not properly configurated?
I followed the steps for adding the ESP32 board to the Arduino IDE 1.8.8, nevertheless the compiler gives an error on the line
on the example file ImageScroll.ino
ImageScroll:13:10: error: TFT_eSPI.h: No such file or directory #include "TFT_eSPI.h" ^~~~~~~~~~~~ compilation terminated.
I think my IDE is still not properly configurated.
On the other hand, the examples using the GFX library works flawless.
teastain2 last edited by
@giulio-buccini SO! I see you have a LilyGO T-Display S3 !!!
You should check out my GitHub repository:
It sounds like you didn't edit the
in the TFT_eSPI directory.
Please check out my repository !
It is the ST7789 driver and selected here"
#include <User_Setups/Setup206_LilyGo_T_Display_S3.h> // For the LilyGo T-Display S3 based ESP32S3 with ST7789 170 x 320 TFT
My repository has a copy the 'User_Setup_Select.h ' setup and ready to replace the stock Arduino Bodmer version.
My examples ar all TFT_eSPI !!!
Also I converted to Arduino IDE 2.2.1 months ago and it is really slick, with only a small learning curve.
@teastain2 I will check your suggestions ASAP. Thanks!
I just substituted the pre-existing TFT_eSPI folder in my "libraries" folder with the one downloaded from the "official" github page, and all has worked at first shot (except for "usual" warning).
In other words, I've done like in this video:
--- OFF-TOPIC ---
What is the real advantage of using TFT_eSPI libs instead of old GFX graphic libs?
As I understand, the advantages are mainly:
- 20-30% of bigger speed in some cases
- possibility to use the "sprite"
There is something else I missing?
teastain2 last edited by
@giulio-buccini Certainly, for troubleshooting, you can always use the LilyGO provided TFT_eSPI library but it is identical to the Arduino TFT_eSPI by Bodmer official up-to-date library, except for the 'User_Setup_Select.h' file is different. You can keep a copy of this little text file somewhere handy and just copy it and replace the one in the TFT_eSPI library. This is what I do.
LilyGO and M5Stack (the only two suppliers I use) use TFT_eSPI as their main graphics library and I can easily use it with experience. GFX is rather old Arduino Uno era graphics, IMHO.
Volos YouTuber uses TFT_eSPI in most of his cool projects.
TFT_eSPI can be configured for lightning quick 8 bit parallel drivers like LilyGO T-Display S3 and the T-HMI.
Sprites (invented in the 80s) allow easy but cool graphics, especially games.