1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

Add Lilygo T-Embed to st7789v display config. (#5337)

* Add Lilygo T-Embed to st7789v display config.

* Move all configuration into the Python code.
Add presets for TTGO.
All preset configuration can be overridden.

* Add Adafruit S2 pin presets

* Add test

* Add funhouse pins.

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>

* Keep ordering of options consistent

* Remove unused declarations

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
Clyde Stubbs
2023-09-05 17:01:28 +10:00
committed by GitHub
parent 343278b291
commit 32b24726ed
4 changed files with 112 additions and 104 deletions

View File

@@ -710,6 +710,14 @@ interval:
- logger.log: Interval Run
display:
- platform: st7789v
model: LILYGO_T-EMBED_170X320
height: 320
width: 170
offset_height: 35
offset_width: 0
dc_pin: GPIO13
reset_pin: GPIO9
image:
- id: binary_image