I have an MCSP23s08( 8-bit SPI I/O expander) and a Raspberrypi. Does anyone know what I need to plug where to get them to communicate?I want to read data from MCP23s08 and write it to GPIO pins of Raspberry Pi? Is there an SPI python library I can use?

Any example for this?

1 Answer 1


Lady Ada over at adafruit (http://learn.adafruit.com/mcp230xx-gpio-expander-on-the-raspberry-pi/overview) has a very complete write up with code and wiring diagrams.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.