esp32_lilygo_t-display-s3
This is an old revision of the document!
LILYGO T-Display-S3
- Téléchargement des bibliothèques:
$ cd Arduino
$ cp -r T-Display-S3/lib/* ~/Arduino/libraries/
(créer le dossier s'il n'existe pas)
- Utilisation version antérieur du firmware de la board (https://github.com/Bodmer/TFT_eSPI/issues/3355): Tools → Board → Boards manager → search ESP32 by Espressif → Install version 2.0.17
- Select board LILYGO T-Dysplay-S3
- Setect port /dev/ttACM0
// 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