1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

[CI] Consolidate some tests (F) (#8195)

This commit is contained in:
Keith Burzinski
2025-02-04 17:05:35 -06:00
committed by GitHub
parent 06f9764f51
commit 6e3527a88b
34 changed files with 277 additions and 672 deletions

View File

@@ -0,0 +1,36 @@
spi:
- id: spi_ft63x6
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
i2c:
- id: i2c_ft63x6
scl: ${scl_pin}
sda: ${sda_pin}
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: ${reset_pin}
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ft63x6
interrupt_pin: ${interrupt_pin}
transform:
swap_xy: true
mirror_x: false
mirror_y: true
on_touch:
- logger.log:
format: tp touched
on_update:
- logger.log:
format: to updated
on_release:
- logger.log:
format: to released

View File

@@ -1,39 +1,9 @@
spi:
clk_pin: 14
mosi_pin: 13
substitutions:
clk_pin: GPIO0
mosi_pin: GPIO2
scl_pin: GPIO13
sda_pin: GPIO14
interrupt_pin: GPIO15
reset_pin: GPIO16
i2c:
sda: GPIO18
scl: GPIO19
display:
- id: my_display
platform: ili9xxx
dimensions: 480x320
model: ST7796
cs_pin: 15
dc_pin: 21
reset_pin: 22
transform:
swap_xy: true
mirror_x: true
mirror_y: true
auto_clear_enabled: false
invert_colors: false
touchscreen:
- platform: ft63x6
interrupt_pin: GPIO39
transform:
swap_xy: true
mirror_x: false
mirror_y: true
on_touch:
- logger.log:
format: tp touched
on_update:
- logger.log:
format: to updated
on_release:
- logger.log:
format: to released
<<: !include common.yaml

View File

@@ -1,21 +1,9 @@
i2c:
- id: i2c_ft63x6
scl: 5
sda: 4
substitutions:
clk_pin: GPIO6
mosi_pin: GPIO7
scl_pin: GPIO0
sda_pin: GPIO1
interrupt_pin: GPIO2
reset_pin: GPIO3
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ft63x6
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,21 +1,9 @@
i2c:
- id: i2c_ft63x6
scl: 5
sda: 4
substitutions:
clk_pin: GPIO6
mosi_pin: GPIO7
scl_pin: GPIO0
sda_pin: GPIO1
interrupt_pin: GPIO2
reset_pin: GPIO3
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ft63x6
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,21 +1,9 @@
i2c:
- id: i2c_ft63x6
scl: 16
sda: 17
substitutions:
clk_pin: GPIO0
mosi_pin: GPIO2
scl_pin: GPIO13
sda_pin: GPIO14
interrupt_pin: GPIO15
reset_pin: GPIO16
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 18
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ft63x6
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,21 +1,9 @@
i2c:
- id: i2c_ft63x6
scl: 5
sda: 4
substitutions:
clk_pin: GPIO14
mosi_pin: GPIO13
scl_pin: GPIO5
sda_pin: GPIO4
interrupt_pin: GPIO12
reset_pin: GPIO16
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ft63x6
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml

View File

@@ -1,21 +1,9 @@
i2c:
- id: i2c_ft63x6
scl: 5
sda: 4
substitutions:
clk_pin: GPIO6
mosi_pin: GPIO7
scl_pin: GPIO0
sda_pin: GPIO1
interrupt_pin: GPIO2
reset_pin: GPIO3
display:
- platform: ssd1306_i2c
id: ssd1306_display
model: SSD1306_128X64
reset_pin: 3
pages:
- id: page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
touchscreen:
- platform: ft63x6
on_touch:
- logger.log:
format: Touch at (%d, %d)
args: [touch.x, touch.y]
<<: !include common.yaml