mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Rework tlc5947 to remove AUTO_LOAD (#6503)
This commit is contained in:
13
tests/components/tlc5947/common.yaml
Normal file
13
tests/components/tlc5947/common.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
tlc5947:
|
||||
clock_pin: ${clock_pin}
|
||||
data_pin: ${data_pin}
|
||||
lat_pin: ${lat_pin}
|
||||
|
||||
output:
|
||||
- platform: tlc5947
|
||||
id: output_1
|
||||
channel: 0
|
||||
max_power: 0.8
|
||||
- platform: tlc5947
|
||||
id: output_2
|
||||
channel: 1
|
7
tests/components/tlc5947/test.esp32-c3-idf.yaml
Normal file
7
tests/components/tlc5947/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
clock_pin: GPIO5
|
||||
data_pin: GPIO4
|
||||
lat_pin: GPIO3
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
7
tests/components/tlc5947/test.esp32-c3.yaml
Normal file
7
tests/components/tlc5947/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
clock_pin: GPIO5
|
||||
data_pin: GPIO4
|
||||
lat_pin: GPIO3
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
7
tests/components/tlc5947/test.esp32-idf.yaml
Normal file
7
tests/components/tlc5947/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
clock_pin: GPIO15
|
||||
data_pin: GPIO14
|
||||
lat_pin: GPIO13
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
7
tests/components/tlc5947/test.esp32.yaml
Normal file
7
tests/components/tlc5947/test.esp32.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
clock_pin: GPIO15
|
||||
data_pin: GPIO14
|
||||
lat_pin: GPIO13
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
7
tests/components/tlc5947/test.esp8266.yaml
Normal file
7
tests/components/tlc5947/test.esp8266.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
clock_pin: GPIO5
|
||||
data_pin: GPIO4
|
||||
lat_pin: GPIO13
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
7
tests/components/tlc5947/test.rp2040.yaml
Normal file
7
tests/components/tlc5947/test.rp2040.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
clock_pin: GPIO5
|
||||
data_pin: GPIO4
|
||||
lat_pin: GPIO3
|
||||
|
||||
packages:
|
||||
common: !include common.yaml
|
Reference in New Issue
Block a user