How to use TFT_eSPI library and ESP32 https://youtu.be/WFVjsxFMbSM
Program Tic Tac Toe on TTGO T-Display https://youtu.be/WAl7sDKL3RY
#include <TFT_eSPI.h>
#include <SPI.h>
TFT_eSPI tft = TFT_eSPI();
void setup(void) {
tft.init();
tft.setRotation(1); // 1 = landscape, 0 = portrait
tft.setCursor(10,20);
tft.print(“Hello World”);
}
void loop() {
}