mirror of
https://github.com/esphome/esphome.git
synced 2026-09-18 02:28:42 +00:00
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
25 lines
598 B
YAML
25 lines
598 B
YAML
touchscreen:
|
|
- platform: icnt86
|
|
i2c_id: i2c_bus
|
|
interrupt_pin: ${interrupt_pin_touch}
|
|
reset_pin: ${reset_pin_touch}
|
|
display: epaper
|
|
on_touch:
|
|
- logger.log:
|
|
format: Touch at (%d, %d)
|
|
args: [touch.x, touch.y]
|
|
|
|
display:
|
|
- platform: waveshare_epaper
|
|
id: epaper
|
|
rotation: 90
|
|
cs_pin: ${cs_pin_display}
|
|
dc_pin: ${dc_pin_display}
|
|
busy_pin: ${busy_pin_display}
|
|
reset_pin: ${reset_pin_display}
|
|
model: 2.90inv2-r2
|
|
pages:
|
|
- id: icnt86_page
|
|
lambda: |-
|
|
it.rectangle(0, 0, it.get_width(), it.get_height());
|