Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from Adafruit_GPIO import MCP230xx
- BUTTON0_PIN = 0
- mcp = MCP230xx.MCP23008()
- mcp.pullup(BUTTON0_PIN, True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement