MIDI-out and MCP23017 sketch