User Tools

Site Tools


esp32_lilygo_t-display-s3

This is an old revision of the document!


LILYGO T-Display-S3

https://github.com/Xinyuan-LilyGO/T-Display-S3?tab=readme-ov-file#4%EF%B8%8F%E2%83%A3--arduino-ide-manual-installation

// https://doc-tft-espi.readthedocs.io/tft_espi/methods/drawstring/
 
#include <TFT_eSPI.h>
 
TFT_eSPI tft = TFT_eSPI();
 
void setup() {
  tft.begin();
  tft.setRotation(1); // Set the rotation of the display
  tft.setTextColor(TFT_WHITE, TFT_BLACK);
  //tft.setTextSize(1); // Set the text color to white with black background
 
}
 
void loop() {
  tft.fillScreen(TFT_BLACK); // Clear the screen with black color
 
  delay(500);
  tft.fillScreen(TFT_BLACK);
  tft.drawString("Hello world !", 50, 70, 4);
  delay(500);
}
esp32_lilygo_t-display-s3.1743805192.txt.gz · Last modified: 2025/04/04 22:19 by bruno