Page 1 of 1

Inputs for MCP23017

Posted: Tuesday 14 November 2023 12:55
by RonEN
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.

Re: Inputs for MCP23017

Posted: Tuesday 14 November 2023 18:00
by waltervl
Looking at this topic suggests that it is not possible. viewtopic.php?p=255145.

Perhaps with a python plugin it is possible.

Re: Inputs for MCP23017

Posted: Tuesday 14 November 2023 18:25
by RonEN
Hey Waltervl,

Thanks for your comment. I read the post and it is from 2019. I hope someone has come up with a solution in the meantime.

Cheers,
Ronald.