Skip to content

dawinaj/MCP23008

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • MCP23008

It is based on another library:

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!