User Tools

Site Tools


esp32_lilygo_t-display-s3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
esp32_lilygo_t-display-s3 [2025/03/27 17:23] – created brunoesp32_lilygo_t-display-s3 [2025/04/04 22:21] (current) bruno
Line 1: Line 1:
 +==== 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://github.com/Xinyuan-LilyGO/T-Display-S3?tab=readme-ov-file#4%EF%B8%8F%E2%83%A3--arduino-ide-manual-installation]]
 +
 +  * Téléchargement des bibliothèques:
 +    * ''$ cd Arduino''
 +    * ''$ git clone https://github.com/Xinyuan-LilyGO/T-Display-S3.git''
 +    * ''$ 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
 +
 +<code c>
 +// 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);
 +  tft.setTextColor(TFT_WHITE, TFT_BLACK);
 +}
 +
 +void loop() {
 +  tft.fillScreen(TFT_BLACK);
 +  tft.drawString("Hello world !", 50, 70, 4);
 +  delay(500);
 +  tft.fillScreen(TFT_BLACK);
 +  delay(500);
 +}
 +</code>
esp32_lilygo_t-display-s3.1743096223.txt.gz · Last modified: 2025/03/27 17:23 by bruno