1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

Speed up (and fix) ili9xxx display component. (#5406)

This commit is contained in:
Clyde Stubbs
2023-11-28 11:42:03 +11:00
committed by GitHub
parent ab1cc0ed6e
commit 993cd55b1d
5 changed files with 317 additions and 280 deletions

View File

@@ -1554,6 +1554,8 @@ sensor:
memory_address: 0x7d
name: Adres sensor
psram:
esp32_touch:
setup_mode: false
iir_filter: 10ms
@@ -2992,6 +2994,12 @@ display:
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
- platform: ili9xxx
invert_colors: true
dimensions: 320x240
transform:
swap_xy: true
mirror_x: true
mirror_y: false
model: TFT 2.4
cs_pin: GPIO5
dc_pin: GPIO4
@@ -3000,6 +3008,11 @@ display:
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: GPIO5
dc_pin: GPIO4