mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-29 22:51:44 +01:00
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:
parent
704eda78d2
commit
78923253f1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user