2

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?

sandy
  • 21
  • 2

1 Answers1

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.

Steve Robillard
  • 34,158
  • 17
  • 102
  • 108