You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • The wiring all looks fine to me - and you're sure it's a MCP23017 and not a MCP23S17 (the SPI one?).

    You don't seem to have wired up the reset wire to A8 though - you could give that a try.

    Other thing you could try is swapping var i2c=I2C2; to var i2c=new I2C(); - which will use software I2C instead of hardware. It shouldn't make a difference, but it's possible it would help.

About

Avatar for Gordon @Gordon started