Skip to content

I2C GPIO

Dave Williams | DitroniX | G8PUO edited this page Aug 18, 2023 · 1 revision

Using an Arduino library, such as one available from Adafruit MCP23017, you are easily able to control both the inputs and outputs with simple lines of code.

Example Code Download Code

An expanded external generic Arduino MCP230174 Tutorial can be found on tronixstuff

Home Automation, such as Tasmota, also supports as standard the MCP23017. A specific datasheet is available from Tasmota.

A list of the GPIOs is shown below, taken from WREN 12S ME SDK – GPIO Matrix

enter image description here

Clone this wiki locally