Controlling MPC/MPD with push buttons and a MCP23017 chip