astutoski - 2025-09-17

Hi everyone,
I’ve connected and configured an MCP23017 over IΒ²C on a Raspberry Pi using the available CODESYS/RPi library. Input reading works fine (I can reliably read a digital input). However, I can’t get any output pin to change state.

Example: when I try to drive PB0, the watch shows MCP23017.Out_B.0 = TRUE (1), but there is no actual output on the pin (no voltage change).

Anyone solved this?

 

Last edit: astutoski 2025-09-17