Python & CircuitPython — image 1 of 1
details
MCP23017
-
Board 3V to expander VIN (red wire)
-
Board GND to expander GND (black wire)
-
Board SCL to expander SCL (yellow wire)
-
Board SDA to expander SDA (blue wire)
LED
-
LED + to 470Ω resistor
-
LED - to Board GND (black wire)
-
470Ω resistor to expander A0 (pink wire)
Button
-
Button leg to expander A1 (green wire)
-
Opposite button leg to Board GND (black wire)
Back