For Raspberry Pi (at 3.3V) or "Virtual-GPIO" (at 5V) A totally simple bit-based I/O class for 16 digital pins on MCP23107. No interrupts, no inversions. Syntax mirrors regular digital self.GPIO I/O ...
My Raspberry Pi was set up by Wiring the SDA, SCL, 3.3V and GND to 2 MCP23017 ICs in parallel. http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf In addition ...