1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00
This commit is contained in:
J. Nick Koston
2025-10-08 11:20:48 -10:00
parent 82bdb08884
commit e8adcb539c
1783 changed files with 3982 additions and 5115 deletions

View File

@@ -1,14 +1,6 @@
i2c:
id: i2c_bus
scl: ${scl_pin}
sda: ${sda_pin}
scan: true
frequency: 600kHz
# component declaration
wk2168_i2c:
- id: bridge_i2c
i2c_id: i2c_bus
address: 0x70
uart:
- id: id0

View File

@@ -1,5 +1,4 @@
substitutions:
scl_pin: GPIO22
sda_pin: GPIO21
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-ard.yaml
<<: !include common.yaml

View File

@@ -1,5 +1,4 @@
substitutions:
scl_pin: GPIO22
sda_pin: GPIO21
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
<<: !include common.yaml