microrobotics

Untitled

Jan 13th, 2026
3,675
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <TFT_eSPI.h>
  2. TFT_eSPI tft;
  3.  
  4. void setup() {
  5.   pinMode(TFT_BL, OUTPUT);
  6.   digitalWrite(TFT_BL, HIGH);   //swtich backlight on Important !!!
  7.   tft.init();
  8.   tft.setRotation(1);
  9.   tft.fillScreen(TFT_BLACK);
  10.   tft.drawString("Hello ESP32", 40, 110, 4);
  11. }
  12.  
  13. void loop() {}
Tags: ESP32 E32R28T
Advertisement