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
esp32_lilygo_t-display-s3 [2025/04/04 22:19] brunoesp32_lilygo_t-display-s3 [2025/04/04 22:21] (current) bruno
Line 21: Line 21:
 void setup() { void setup() {
   tft.begin();   tft.begin();
-  tft.setRotation(1); // Set the rotation of the display+  tft.setRotation(1);
   tft.setTextColor(TFT_WHITE, TFT_BLACK);   tft.setTextColor(TFT_WHITE, TFT_BLACK);
-  //tft.setTextSize(1); // Set the text color to white with black background 
- 
 } }
  
 void loop() { void loop() {
-  tft.fillScreen(TFT_BLACK); // Clear the screen with black color +  tft.fillScreen(TFT_BLACK); 
 +  tft.drawString("Hello world !", 50, 70, 4);
   delay(500);   delay(500);
   tft.fillScreen(TFT_BLACK);   tft.fillScreen(TFT_BLACK);
-  tft.drawString("Hello world !", 50, 70, 4); 
   delay(500);   delay(500);
 } }
 </code> </code>
esp32_lilygo_t-display-s3.txt · Last modified: 2025/04/04 22:21 by bruno