mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 11:08:10 +01:00
20 lines
281 B
YAML
20 lines
281 B
YAML
|
i2c:
|
||
|
- id: i2c_max6956
|
||
|
scl: 16
|
||
|
sda: 17
|
||
|
|
||
|
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
|