mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 06:43:48 +01:00
all i2c at once
This commit is contained in:
@@ -11,6 +11,7 @@ display:
|
||||
|
||||
touchscreen:
|
||||
- platform: axs15231
|
||||
i2c_id: i2c_bus
|
||||
id: axs15231_touchscreen
|
||||
display: ssd1306_display
|
||||
interrupt_pin: 20
|
||||
|
@@ -11,6 +11,7 @@ display:
|
||||
|
||||
touchscreen:
|
||||
- platform: ektf2232
|
||||
i2c_id: i2c_bus
|
||||
id: ektf2232_touchscreen
|
||||
interrupt_pin: ${interrupt_pin}
|
||||
reset_pin: ${touch_reset_pin}
|
||||
|
@@ -11,6 +11,7 @@ display:
|
||||
|
||||
touchscreen:
|
||||
- platform: ft5x06
|
||||
i2c_id: i2c_bus
|
||||
display: ft5x06_display
|
||||
id: ft5x06_touchscreen
|
||||
on_touch:
|
||||
|
@@ -11,6 +11,7 @@ display:
|
||||
|
||||
touchscreen:
|
||||
- platform: ft63x6
|
||||
i2c_id: i2c_bus
|
||||
display: ft63x6_display
|
||||
id: ft63x6_touchscreen
|
||||
interrupt_pin: ${interrupt_pin}
|
||||
|
@@ -11,6 +11,7 @@ display:
|
||||
|
||||
touchscreen:
|
||||
- platform: gt911
|
||||
i2c_id: i2c_bus
|
||||
id: gt911_touchscreen
|
||||
display: ssd1306_display
|
||||
interrupt_pin: ${interrupt_pin}
|
||||
|
@@ -11,6 +11,7 @@ display:
|
||||
|
||||
touchscreen:
|
||||
- platform: lilygo_t5_47
|
||||
i2c_id: i2c_bus
|
||||
id: lilygo_touchscreen
|
||||
interrupt_pin: ${interrupt_pin}
|
||||
display: ssd1306_display
|
||||
|
@@ -15,6 +15,7 @@ sensor:
|
||||
address: 0x53
|
||||
update_interval: 60s
|
||||
- platform: ltr390
|
||||
i2c_id: i2c_bus
|
||||
uv:
|
||||
name: LTR390 UV 2
|
||||
uv_index:
|
||||
|
@@ -1,4 +1,5 @@
|
||||
msa3xx:
|
||||
i2c_id: i2c_bus
|
||||
type: msa301
|
||||
range: 4G
|
||||
resolution: 14
|
||||
|
@@ -1,6 +1,4 @@
|
||||
i2c:
|
||||
- id: i2c_msa3xx
|
||||
scl: GPIO5
|
||||
sda: GPIO4
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,6 +1,4 @@
|
||||
i2c:
|
||||
- id: i2c_msa3xx
|
||||
scl: GPIO16
|
||||
sda: GPIO17
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,6 +1,4 @@
|
||||
i2c:
|
||||
- id: i2c_msa3xx
|
||||
scl: GPIO5
|
||||
sda: GPIO4
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,6 +1,4 @@
|
||||
i2c:
|
||||
- id: i2c_msa3xx
|
||||
scl: GPIO5
|
||||
sda: GPIO4
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,5 +1,6 @@
|
||||
sensor:
|
||||
- platform: nau7802
|
||||
i2c_id: i2c_bus
|
||||
id: test_id
|
||||
name: weight
|
||||
gain: 32
|
||||
|
@@ -1,6 +1,4 @@
|
||||
i2c:
|
||||
- id: i2c_nau7802
|
||||
scl: 5
|
||||
sda: 4
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,6 +1,4 @@
|
||||
i2c:
|
||||
- id: i2c_nau7802
|
||||
scl: 16
|
||||
sda: 17
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,6 +1,4 @@
|
||||
i2c:
|
||||
- id: i2c_nau7802
|
||||
scl: 5
|
||||
sda: 4
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -1,6 +1,4 @@
|
||||
i2c:
|
||||
- id: i2c_nau7802
|
||||
scl: 5
|
||||
sda: 4
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
|
@@ -11,6 +11,7 @@ display:
|
||||
|
||||
touchscreen:
|
||||
- platform: tt21100
|
||||
i2c_id: i2c_bus
|
||||
id: tt21100_touchscreen
|
||||
display: ssd1306_display
|
||||
interrupt_pin: ${interrupt_pin}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
ttp229_lsf:
|
||||
i2c_id: i2c_bus
|
||||
|
||||
binary_sensor:
|
||||
- platform: ttp229_lsf
|
||||
|
@@ -12,6 +12,7 @@ sensor:
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ec
|
||||
i2c_id: i2c_bus
|
||||
id: ufire_ec_board
|
||||
ec:
|
||||
name: Ufire EC
|
||||
|
@@ -14,6 +14,7 @@ sensor:
|
||||
id: test_sensor
|
||||
lambda: "return 21;"
|
||||
- platform: ufire_ise
|
||||
i2c_id: i2c_bus
|
||||
id: ufire_ise_sensor
|
||||
temperature_sensor: test_sensor
|
||||
ph:
|
||||
|
Reference in New Issue
Block a user