Fix MCP23008 example (#845)

Change the pin mode from INPUT_PULLUP to OUTPUT for the switch in the MCP23008 example
This commit is contained in:
djtef 2020-11-15 22:47:56 +01:00 committed by GitHub
parent 704eda78d2
commit 78923253f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,8 +36,7 @@ The MCP23008 component (`datasheet <http://ww1.microchip.com/downloads/en/device
mcp23008: mcp23008_hub
# Use pin number 0
number: 0
# One of INPUT, INPUT_PULLUP or OUTPUT
mode: INPUT_PULLUP
mode: OUTPUT
inverted: False
# Individual inputs