mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 03:16:37 +00:00
[lvgl] Animation updates and debug borders option (#19420)
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# Kept separate from the main lvgl-package.yaml so that enabling debug_outline
|
||||
# here doesn't add its extra style calls to the memory-impact baseline that
|
||||
# every other lvgl test change is measured against.
|
||||
packages:
|
||||
spi: !include ../../test_build_components/common/spi/esp32-idf.yaml
|
||||
|
||||
display:
|
||||
- platform: mipi_spi
|
||||
spi_id: spi_bus
|
||||
model: st7789v
|
||||
id: debug_outline_display
|
||||
dimensions:
|
||||
width: 240
|
||||
height: 320
|
||||
data_rate: 80MHz
|
||||
cs_pin: GPIO22
|
||||
dc_pin: GPIO21
|
||||
auto_clear_enabled: false
|
||||
update_interval: never
|
||||
|
||||
lvgl:
|
||||
debug_outline: true
|
||||
displays:
|
||||
- debug_outline_display
|
||||
widgets:
|
||||
- obj:
|
||||
id: debug_outline_root
|
||||
widgets:
|
||||
- label:
|
||||
text: Title
|
||||
- button:
|
||||
widgets:
|
||||
- label:
|
||||
text: OK
|
||||
@@ -40,6 +40,10 @@ lvgl:
|
||||
- round_trip
|
||||
- type: ease_in_out
|
||||
weight: 0.5
|
||||
- type: ease_in
|
||||
weight: 0.3
|
||||
- type: ease_out
|
||||
weight: 0.7
|
||||
on_start:
|
||||
- logger.log: anim started
|
||||
on_stop:
|
||||
|
||||
Reference in New Issue
Block a user