Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dawinaj/mcp23008
MCP23008 driver for ESP32
https://github.com/dawinaj/mcp23008
cpp driver esp32 gpio-expander hal mcp23008
Last synced: 23 days ago
JSON representation
MCP23008 driver for ESP32
- Host: GitHub
- URL: https://github.com/dawinaj/mcp23008
- Owner: dawinaj
- License: mit
- Created: 2024-06-10T15:23:34.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T00:01:55.000Z (4 months ago)
- Last Synced: 2024-11-07T16:09:46.563Z (2 months 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 MCP23008 expander driver/library
This is a single-file header-only C++ style library (see files in `main/include/`) for driving the **MCP23008** MicroChip's GPIO expander from an **ESP32** microcontroller.
Currently supported are:
- MCP23008It 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.
- Install `ropg/i2c_manager` library.
- #include the `MCP23008.h` in your code.
- Create an object.
- Done!