Add lilygo t5 4.7" touchscreen docs (#1886)

This commit is contained in:
Jesse Hills 2022-02-08 21:50:33 +13:00 committed by GitHub
parent 7de600069b
commit 2cac389efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,35 @@
Lilygo T5 4.7" Touchscreen
==========================
.. seo::
:description: Instructions for setting up the Lilygo T5 4.7" Touchscreen with ESPHome
:image: lilygo_t5_47_touch.png
:keywords: Lilygo T5 4.7" Touchscreen
The ``liygo_t5_47`` touchscreen platform allows using the touchscreen controller
for the Lilygo T5 4.7" e-Paper Display with ESPHome.
The :ref:`I²C <i2c>` is required to be set up in your configuration for this touchscreen to work.
.. code-block:: yaml
# Example configuration entry
touchscreen:
- platform: lilygo_t5_47
interrupt_pin: GPIO13
Configuration variables:
------------------------
- **id** (*Optional*, :ref:`config-id`): Manually set the ID of this touchscreen.
- **interupt_pin** (*Optional*, :ref:`Pin Schema <config-pin_schema>`): The touch detection pin.
Must be ``GPIO13``.
- All other options from :ref:`config-touchscreen`.
See Also
--------
- :doc:`Touchscreen <index>`
- :apiref:`lilygo_t5_47/touchscreen/lilygo_t5_47_touchscreen.h`
- :ghedit:`Edit`

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -405,7 +405,7 @@ Binary Sensor Components
Modbus Binary Sensor, components/binary_sensor/modbus_controller, modbus.png
XPT2046, components/binary_sensor/xpt2046, xpt2046.jpg
CAP1188 Capacitive Touch Sensor, components/binary_sensor/cap1188, cap1188.jpg
EKTF2232 Touchscreen, components/binary_sensor/ektf2232, ektf2232.svg
Touchscreen, components/touchscreen/index, touch.svg
Custom Binary Sensor, components/binary_sensor/custom, language-cpp.svg
Output Components
@ -536,6 +536,7 @@ Touchscreen Components
Touchscreen Core, components/touchscreen/index, folder-open.svg
EKTF2232, components/touchscreen/ektf2232, ektf2232.svg, Inkplate 6 Plus
Lilygo T5 4.7", components/touchscreen/lilygo_t5_47, lilygo_t5_47_touch.png
Cover Components
----------------