ModMyPi MCP23017 pHAT

The coluorful table on this thread Encoder mapping for Direct I/O connection give details of what should go in the weconf setup … it’s the values from the WPi column…