Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dawinaj/mcp230xx
MCP230XX driver for ESP32
https://github.com/dawinaj/mcp230xx
cpp driver esp32 gpio-expander hal i2c mcp23008 mcp23009 mcp23016 mcp23017 mcp23018
Last synced: about 18 hours ago
JSON representation
MCP230XX driver for ESP32
- Host: GitHub
- URL: https://github.com/dawinaj/mcp230xx
- Owner: dawinaj
- License: mit
- Created: 2024-06-10T15:23:34.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-01-01T19:22:49.000Z (8 days ago)
- Last Synced: 2025-01-01T20:24:19.693Z (8 days ago)
- Topics: cpp, driver, esp32, gpio-expander, hal, i2c, mcp23008, mcp23009, mcp23016, mcp23017, mcp23018
- Language: C++
- Homepage:
- Size: 51.8 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
- MCP23018It 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!