https://github.com/dawinaj/MCP230XX
MCP23008 driver for ESP32
https://github.com/dawinaj/MCP230XX
cpp driver esp32 gpio-expander hal mcp23008
Last synced: 10 months ago
JSON representation
MCP23008 driver for ESP32
- Host: GitHub
- URL: https://github.com/dawinaj/MCP230XX
- Owner: dawinaj
- License: mit
- Created: 2024-06-10T15:23:34.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-15T00:01:55.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T16:09:46.563Z (over 1 year ago)
- Topics: cpp, driver, esp32, gpio-expander, hal, mcp23008
- Language: C++
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32 MCP230XX expander driver/library
This is a single-file header-only C++ style library (see files in `main/include/`) for driving the **MCP230XX** MicroChip's GPIO expander from an **ESP32** microcontroller.
Currently supported are:
- MCP23008
- MCP23009
- MCP23016
- MCP23017
- MCP23018
It is based on another library:
- https://github.com/NSBum/esp32-mcp23008
## Installation & usage
See example in `main/main.cpp`.
- Move the files from `main/include/` to your include directory.
- #include the `MCP230XX.h` in your code.
- Create an object.
- Done!