fixed 2wire, first testings on 2wire

Partial testing (only out in I2C and MCP23017 and works.