diff --git a/components/touchscreen/lilygo_t5_47.rst b/components/touchscreen/lilygo_t5_47.rst new file mode 100644 index 000000000..4e01bf01a --- /dev/null +++ b/components/touchscreen/lilygo_t5_47.rst @@ -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 ` 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 `): The touch detection pin. + Must be ``GPIO13``. + +- All other options from :ref:`config-touchscreen`. + +See Also +-------- + +- :doc:`Touchscreen ` +- :apiref:`lilygo_t5_47/touchscreen/lilygo_t5_47_touchscreen.h` +- :ghedit:`Edit` diff --git a/images/lilygo_t5_47_touch.png b/images/lilygo_t5_47_touch.png new file mode 100644 index 000000000..a9ce05038 Binary files /dev/null and b/images/lilygo_t5_47_touch.png differ diff --git a/index.rst b/index.rst index ba24beb12..8c1afb74b 100644 --- a/index.rst +++ b/index.rst @@ -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 ----------------