Relay activation via physical button using an MCP23017

@Diego_La_Mattina, I’ve now bought a couple of these MCP23017 and spent some time figuring out how they work.
I’ve written it all up here, although it is a bit of a long read!..

Pete.