mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions * Rename Arduino test files
This commit is contained in:
34
tests/components/ili9xxx/test.esp32-ard.yaml
Normal file
34
tests/components/ili9xxx/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
spi:
|
||||
- id: spi_main_lcd
|
||||
clk_pin: 16
|
||||
mosi_pin: 17
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
invert_colors: true
|
||||
dimensions: 320x240
|
||||
transform:
|
||||
swap_xy: true
|
||||
mirror_x: true
|
||||
mirror_y: false
|
||||
model: TFT 2.4
|
||||
color_palette: GRAYSCALE
|
||||
cs_pin: 12
|
||||
dc_pin: 13
|
||||
reset_pin: 14
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
- platform: ili9xxx
|
||||
dimensions:
|
||||
width: 320
|
||||
height: 240
|
||||
offset_width: 20
|
||||
offset_height: 10
|
||||
model: TFT 2.4
|
||||
cs_pin: 25
|
||||
dc_pin: 26
|
||||
reset_pin: 27
|
||||
auto_clear_enabled: false
|
||||
rotation: 90
|
||||
lambda: |-
|
||||
it.fill(Color::WHITE);
|
||||
Reference in New Issue
Block a user