LilyGo-T-Display-S2
LilyGo-T-Display-S2 copied to clipboard
using with Arduino ide
Please show how to use with Arduino ide, which display library to use etc....
Hi @mohir,
I managed to use the Arduino IDE 2.0 beta...
Instruction
-
Install Arduino IDE 2.0 beta
-
follow this documentation to install the espressif sdk: https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html
-
then choose this board
ESP32S2 Dev Module
and an upload port
- important: select a lower upload speed because the Serial to USB-C port is limited:
Maybe someone add this instruction to a readme?
Regarding the display ...
If you figured out how to program how to program the display, please let me know. What I figured out yet is to activate the backlight:
#define PIN_NUM_BCKL 33
pinMode(PIN_NUM_BCKL, OUTPUT);
digitalWrite(PIN_NUM_BCKL, HIGH);
C example: https://github.dev/Xinyuan-LilyGO/LilyGo-T-Display-S2/blob/master/main/app_main.c
I got the display up and running by using the LovyanGFX library. Credits to Eric ... here is his example: https://github.com/0015/ESP32-S2-Projects/tree/main/Brute-force_Keyboard/Brute-force_Keyboard_0.1