Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dawinaj/hd44780
HD44780 driver for ESP32
https://github.com/dawinaj/hd44780
cpp driver esp32 gpio hal hd44780 lcd-display pcf8574
Last synced: 23 days ago
JSON representation
HD44780 driver for ESP32
- Host: GitHub
- URL: https://github.com/dawinaj/hd44780
- Owner: dawinaj
- License: mit
- Created: 2023-04-17T10:28:59.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-14T23:04:40.000Z (4 months ago)
- Last Synced: 2024-11-07T16:09:45.501Z (2 months ago)
- Topics: cpp, driver, esp32, gpio, hal, hd44780, lcd-display, pcf8574
- Language: C++
- Homepage:
- Size: 25.1 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32 HD44780 driver/library
This is a header-only C++ style library (see files in `main/include/`) for driving the popular **HD44780** LCD display from an **ESP32** microcontroller.
Currently, there exist two Interfaces - one using **PCF8574** expander via **I2C** and one using 4-bit **GPIO** connection.
Feel free to suggest or write other Interfaces (like for other expanders, or full 8-bit 12-pin communication).Main source file contains simple tests. You can see the results [here](https://imgur.com/a/MCVgFki). See performance [here](https://www.youtube.com/watch?v=B4rCxr45nzM).
## Installation & usage
See example in `main/main.cpp`.- Move the files from `main/include/` to your include directory.
- #include the `HD44780.h` and `PCF8574.h` or `GPIO4BIT.h` in your code.
- Create `HD44780_PCF8574` or `HD44780_GPIO4BIT` object.
- Create `HD44780` object with the earlier Interface object.
- Done!