mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
f6848fe24d
* Initial changes to support testing of additional framework versions * Rename Arduino test files
34 lines
525 B
YAML
34 lines
525 B
YAML
i2c:
|
|
- id: i2c_sx1509
|
|
scl: 5
|
|
sda: 4
|
|
|
|
sx1509:
|
|
- id: sx1509_hub
|
|
address: 0x3E
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
name: GPIO SX1509 Test
|
|
pin:
|
|
sx1509: sx1509_hub
|
|
number: 3
|
|
|
|
switch:
|
|
- platform: gpio
|
|
name: GPIO SX1509 Test Out Open Drain
|
|
pin:
|
|
sx1509: sx1509_hub
|
|
number: 0
|
|
mode:
|
|
output: true
|
|
open_drain: true
|
|
|
|
- platform: gpio
|
|
name: GPIO SX1509 Test Out Standard
|
|
pin:
|
|
sx1509: sx1509_hub
|
|
number: 1
|
|
mode:
|
|
output: true
|