Skip to content

Demonstrating an MCP23017 component for ESP32 ESP-IDF

Notifications You must be signed in to change notification settings

NSBum/esp32-mcp23017-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interfacing an MCP23017 I2C GPIO expander with ESP32

The MCP23017 is an I2C bus GPIO expander. This is an demonstration application for the ESP32 in the ESP-IDF environment.

Usage

To use this application, you must have the ESP-IDF environment installed. After cloning, you will need to run make menuconfig to set up the proper make files and then make flash to flash it onto your device.

Note: The MCP23017 component in this demonstration does not yet support interrupt functionality. Also, the intent isn't really to duplicate Arduino digitalWrite type functionality. After spending a little time with the datasheet and learning how to set and clear bits, you can easily accomplish what you need without trying to emulate Arduino.

About

Demonstrating an MCP23017 component for ESP32 ESP-IDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published