1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 06:43:48 +01:00
Files
esphome/tests/components/st7920/common.yaml
J. Nick Koston 0a862ad76a tweak
2025-10-08 20:19:16 -10:00

19 lines
447 B
YAML

display:
- platform: st7920
cs_pin: ${cs_pin}
height: 128
width: 64
pages:
- id: st7920_page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
- id: st7920_page2
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
on_page_change:
from: st7920_page1
to: st7920_page2
then:
lambda: |-
ESP_LOGD("display", "1 -> 2");