Python & CircuitPython — image 1 of 1

adafruit_products_piNoStemma_bb.png
details

MCP23017

  • Pi 3V to expander VIN (red wire)
  • Pi GND to expander GND (black wire)
  • Pi SCL to expander SCL (yellow wire)
  • Pi SDA to expander SDA (blue wire)

LED

  • LED + to 470Ω resistor
  • LED - to Pi GND (black wire)
  • 470Ω resistor to expander A0 (pink wire)

Button

  • Button leg to expander A1 (green wire)
  • Opposite button leg to Pi GND (black wire)
Back

Search