mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 14:04:53 +01:00
19 lines
279 B
YAML
19 lines
279 B
YAML
i2c:
|
|
- id: i2c_max6956
|
|
scl: 5
|
|
sda: 4
|
|
|
|
max6956:
|
|
- id: max6956_1
|
|
address: 0x40
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
name: Max Input Pin 4
|
|
pin:
|
|
max6956: max6956_1
|
|
number: 4
|
|
mode:
|
|
input: true
|
|
pullup: true
|
|
inverted: false
|