Changed readGPIO(void) to read the MCP23008_GPIO register instead of the output latch register (MCP23008_OLAT).
Changed readGPIO(void) to read the MCP23008_GPIO register instead of the output latch register (MCP23008_OLAT).
esimkowitz/Particle-Adafruit-MCP23008