TTGO T-Display ESP32 CP2104 WiFi bluetooth Module 1.14 Inch 135 x 240 LCD Development Board LILYGO 2 buttons.
Ttgo T-Watcher Btc Ticker Esp32 2.2 Inch 320X240 Tft Display 3 buttons
See Graphic commands also pic.png picture to pic.h
External link to ESP32 info https://github.com/Xinyuan-LilyGO
Note Working voltage 2.7V-4.2V (USB 5V/1A) supports 3.7V lithium battery
TTGO T-display
Getting started with ESP32 development using the TTGO T-DISPLAY
https://dl.espressif.com/dl/package_esp32_index.json
Board : TTGO LoRa32-OLED V1
Library : TFT_eSPI
Find in the TFT_eSPI directory the User_Setup_Select.h file comment out #include <User_Setup.h> by adding //
Then remove the comment // from Setup25_TTGO_T_Display.h and save.
How to start with TTGO ESP32 T-Display in Arduino IDE
I’m just playing with a TTGO T-Display. https://github.com/Xinyuan-LilyGO/TTGO-T-Display 20
Trying to fire up a little app called TTGO-Show-Voltage, before I get stuck in! However, when compiling, it throws an error,
“TTGO-Show-Voltage:143:31: error: ‘TFT_BACKLIGHT_ON’ was not declared in this scope”
The code explicitly notes that TFT_BACKLIGHT_ON is set in the TFT_eSPI library setup file. And it is! but…
In User_Setup_Select.h you should comment out “#include <User_Setup.h>”
and add “#define TFT_BACKLIGHT_ON HIGH // HIGH or LOW are options”
I also copied
“// ST7789 135 x 240 display with no chip select line
#define ST7789_DRIVER // Configure all registers
#define TFT_WIDTH 135
#define TFT_HEIGHT 240”
To TFT_eSPI.h from TTGO_T_Display.h
(note that the demo code, direct from GitHub has several multiple definitions which is corrected by these changes.)
Compile is now clean