mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
Add some components to the new testing framework (M part 1) (#6207)
This commit is contained in:
16
tests/components/max7219digit/test.esp32-c3-idf.yaml
Normal file
16
tests/components/max7219digit/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
spi:
|
||||
- id: spi_max7219digit
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: max7219digit
|
||||
cs_pin: 8
|
||||
num_chips: 4
|
||||
rotate_chip: 0
|
||||
intensity: 10
|
||||
scroll_mode: STOP
|
||||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
16
tests/components/max7219digit/test.esp32-c3.yaml
Normal file
16
tests/components/max7219digit/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
spi:
|
||||
- id: spi_max7219digit
|
||||
clk_pin: 6
|
||||
mosi_pin: 7
|
||||
miso_pin: 5
|
||||
|
||||
display:
|
||||
- platform: max7219digit
|
||||
cs_pin: 8
|
||||
num_chips: 4
|
||||
rotate_chip: 0
|
||||
intensity: 10
|
||||
scroll_mode: STOP
|
||||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
16
tests/components/max7219digit/test.esp32-idf.yaml
Normal file
16
tests/components/max7219digit/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
spi:
|
||||
- id: spi_max7219digit
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: max7219digit
|
||||
cs_pin: 12
|
||||
num_chips: 4
|
||||
rotate_chip: 0
|
||||
intensity: 10
|
||||
scroll_mode: STOP
|
||||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
16
tests/components/max7219digit/test.esp32.yaml
Normal file
16
tests/components/max7219digit/test.esp32.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
spi:
|
||||
- id: spi_max7219digit
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
miso_pin: 15
|
||||
|
||||
display:
|
||||
- platform: max7219digit
|
||||
cs_pin: 12
|
||||
num_chips: 4
|
||||
rotate_chip: 0
|
||||
intensity: 10
|
||||
scroll_mode: STOP
|
||||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
16
tests/components/max7219digit/test.esp8266.yaml
Normal file
16
tests/components/max7219digit/test.esp8266.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
spi:
|
||||
- id: spi_max7219digit
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
miso_pin: 12
|
||||
|
||||
display:
|
||||
- platform: max7219digit
|
||||
cs_pin: 15
|
||||
num_chips: 4
|
||||
rotate_chip: 0
|
||||
intensity: 10
|
||||
scroll_mode: STOP
|
||||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
16
tests/components/max7219digit/test.rp2040.yaml
Normal file
16
tests/components/max7219digit/test.rp2040.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
spi:
|
||||
- id: spi_max7219digit
|
||||
clk_pin: 2
|
||||
mosi_pin: 3
|
||||
miso_pin: 4
|
||||
|
||||
display:
|
||||
- platform: max7219digit
|
||||
cs_pin: 6
|
||||
num_chips: 4
|
||||
rotate_chip: 0
|
||||
intensity: 10
|
||||
scroll_mode: STOP
|
||||
id: my_matrix
|
||||
lambda: |-
|
||||
it.printdigit("hello");
|
Reference in New Issue
Block a user