Blinky for ESP32 LilyGO T-Beam

esp32 t-beam lilygo

This example contains a simple blinky program for the ESP32-based T-Beam by Xinyuan LilyGO version T22_V1.1, 20191212.

  1. Setup arduino-cli or Arduino IDE with boards URL for ESP32
  2. Install SiLabs CP210x USB to UART Bridge VCP Drivers for macOS
  3. Flash the blinky firmware with the make command.
  4. The RED LED underneath the display should blink.


Download code
#define LED 4

void setup() {
  pinMode(LED, OUTPUT);
  digitalWrite(LED, LOW);

  Serial.println("Start blinky");

void loop() {
  Serial.println("LED ON");
  digitalWrite(LED, LOW);

  Serial.println("LED OFF");
  digitalWrite(LED, HIGH);

Serial console

Serial output from the firmware.

Blinky for ESP32 LilyGO T-Beam serial console


A photo of the actual setup.

Blinky for ESP32 LilyGO T-Beam prototype