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

Both sides previous revisionPrevious revision
Next revision
Previous revision
esp32_lilygo_t-display-s3 [2025/04/04 21:23] brunoesp32_lilygo_t-display-s3 [2025/04/04 22:21] (current) bruno
Line 7: Line 7:
     * ''$ cd Arduino''     * ''$ cd Arduino''
     * ''$ git clone https://github.com/Xinyuan-LilyGO/T-Display-S3.git''     * ''$ git clone https://github.com/Xinyuan-LilyGO/T-Display-S3.git''
-    * ''$ cp -r T-Display-S3/lib/* ~/Arduino/libraries/''+    * ''$ 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   * 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   * Select board LILYGO T-Dysplay-S3
   * Setect port /dev/ttACM0   * 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.1743801819.txt.gz · Last modified: 2025/04/04 21:23 by bruno