mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 07:58:09 +01:00
f6848fe24d
* Initial changes to support testing of additional framework versions * Rename Arduino test files
23 lines
343 B
YAML
23 lines
343 B
YAML
i2c:
|
|
- id: i2c_mcp23008
|
|
scl: 16
|
|
sda: 17
|
|
|
|
mcp23008:
|
|
id: mcp23008_hub
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
id: mcp23008_binary_sensor
|
|
pin:
|
|
mcp23xxx: mcp23008_hub
|
|
number: 0
|
|
mode: INPUT
|
|
|
|
switch:
|
|
- platform: gpio
|
|
id: mcp23008_switch
|
|
pin:
|
|
mcp23xxx: mcp23008_hub
|
|
number: 1
|
|
mode: OUTPUT
|