Inputs for MCP23017
Posted: Tuesday 14 November 2023 12:55
Dear reader,
I have several MCP23017 connected to the GPIO via an I2C. Via dummy hardware and some code I can use both inputs and outputs.
You can also create an i2c sensor gateway in the hardware and then select the MCP23017. In devices you then have all ports of the MCP23017 available (and it works). However, these are all configured as Output. Does anyone know of a way to also use ports of the MCP23017 as input via these methods?
I'm curious about a solution.
Cheers,
Ronald.
I have several MCP23017 connected to the GPIO via an I2C. Via dummy hardware and some code I can use both inputs and outputs.
You can also create an i2c sensor gateway in the hardware and then select the MCP23017. In devices you then have all ports of the MCP23017 available (and it works). However, these are all configured as Output. Does anyone know of a way to also use ports of the MCP23017 as input via these methods?
I'm curious about a solution.
Cheers,
Ronald.