Driver for a Microchip MCP23016 16-bit I2C bus expander..
The MCP23016 is a 16-bit port expander where each of the bits can function as either an input or an output.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
This code has been tested using a SolderCore controlling a SenseCore.
|MCP23016_I2C_ADDR||8-bit I2C address for MC23016|
|mcp23016_initialize_i2c||Initialize bus expander on I2C bus|