This is a demo project for a library to control LCD1602 / LCD 2004 display with 12c using the ESP-32 IDF toolchain ESP-IDF.
Please note that this is actually a demo project. The library is in the components folder.
- Display numbers
- Scrolling text
- Simplified interface
- C++ Implementation
esp-idf v5.3 or later.
git clone https://github.com/cfrankb/esp32-lcd1602_2004-cpp
cd esp32-lcd1602_2004-cpp/
idf.py set-target {esp32/esp32s2/esp32s3/esp32c3}
idf.py menuconfig
idf.py flash
LCD1602/2004 | wirecolor | GPIO Pin |
---|---|---|
SDA | blue | 21 |
SCL | green | 22 |
GRN | black | GRN |
VCC | red | 5v * |
* most models use 5v. There are some variants that operate on 3.3v. Check documentation before proceeding.
TBA
The source is available from GitHub cfrankb/esp32-lcd1602_2004-cpp.