mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +01:00
27 lines
389 B
YAML
27 lines
389 B
YAML
|
i2c:
|
||
|
- id: i2c_mpr121
|
||
|
scl: 16
|
||
|
sda: 17
|
||
|
|
||
|
mpr121:
|
||
|
id: mpr121_first
|
||
|
address: 0x5A
|
||
|
|
||
|
binary_sensor:
|
||
|
- platform: mpr121
|
||
|
id: touchkey0
|
||
|
name: touchkey0
|
||
|
channel: 0
|
||
|
- platform: mpr121
|
||
|
id: bin1
|
||
|
name: touchkey1
|
||
|
channel: 1
|
||
|
- platform: mpr121
|
||
|
id: bin2
|
||
|
name: touchkey2
|
||
|
channel: 2
|
||
|
- platform: mpr121
|
||
|
id: bin3
|
||
|
name: touchkey3
|
||
|
channel: 3
|