Required Libraries

All required libraries are included in the lib folder:

TFT_eSPI
XPT2046_Touchscreen
LVGL (optional, if GUI is used)

Make sure your environment (e.g. PlatformIO or Arduino IDE) is set up to use libraries from this folder.)
--------------------------------------------------------------------------------------------
TFT_eSPI Configuration (Important)

Before compiling, you must configure the TFT_eSPI library for your specific display.

Edit the file:
TFT_eSPI/User_Setup.h
or use a custom setup in:
TFT_eSPI/User_Setups/

Then enable it in:
TFT_eSPI/User_Setup_Select.h

Make sure to correctly set:

Display driver (e.g. ILI9341, ILI9488)
Resolution
SPI pins (MOSI, MISO, SCLK, CS, DC, RST)
SPI frequency

Note

Without proper configuration, the display may not work correctly (white/black screen, incorrect colors or no touch response).