esphome/tests/components/pcf8574/test.esp32-c3.yaml

29 lines
442 B
YAML

i2c:
- id: i2c_pcf8563
scl: 5
sda: 4
pcf8574:
- id: pcf8574_hub
address: 0x21
pcf8575: false
binary_sensor:
- platform: gpio
id: pcf8574_binary_sensor
name: PCF Binary Sensor
pin:
pcf8574: pcf8574_hub
number: 1
mode: INPUT
inverted: true
output:
- platform: gpio
id: pcf8574_output
pin:
pcf8574: pcf8574_hub
number: 0
mode: OUTPUT
inverted: false