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:
37
tests/components/xpt2046/test.esp32-s2-ard.yaml
Normal file
37
tests/components/xpt2046/test.esp32-s2-ard.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
spi:
|
||||
clk_pin: 7
|
||||
mosi_pin: 11
|
||||
miso_pin: 9
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
id: my_display
|
||||
model: ili9341
|
||||
cs_pin: 5
|
||||
dc_pin: 12
|
||||
reset_pin: 33
|
||||
auto_clear_enabled: false
|
||||
data_rate: 40MHz
|
||||
dimensions: 320x240
|
||||
update_interval: never
|
||||
transform:
|
||||
mirror_y: false
|
||||
mirror_x: false
|
||||
swap_xy: true
|
||||
|
||||
touchscreen:
|
||||
- platform: xpt2046
|
||||
display: my_display
|
||||
id: my_toucher
|
||||
update_interval: 50ms
|
||||
cs_pin: 18
|
||||
threshold: 300
|
||||
calibration:
|
||||
x_min: 210
|
||||
x_max: 3890
|
||||
y_min: 170
|
||||
y_max: 3730
|
||||
transform:
|
||||
mirror_x: false
|
||||
mirror_y: true
|
||||
swap_xy: true
|
||||
Reference in New Issue
Block a user