esphome-docs/components/touchscreen/ft5x06.rst
2023-12-16 17:51:42 -06:00

45 lines
1.3 KiB
ReStructuredText

FT5X06 Touch Screen Controller
===============================
.. seo::
:description: Instructions for setting up ft5x06 touch screen controller with ESPHome
:image: indicator.jpg
:keywords: FT5X06, Seeed Indicator
The ``ft5x06`` touchscreen platform allows using the touch screen controllers based on the ft5x06 chip with ESPHome.
The :ref:`I²C <i2c>` is required to be set up in your configuration for this touchscreen to work.
This controller is used in the Seeed Studio Sensecap Indicator.
.. figure:: images/indicator.jpg
:align: center
:width: 50.0%
ft5x06 touchscreen in Seeed Studio Sensecap Indicator.
Base Touchscreen Configuration
------------------------------
.. code-block:: yaml
# Example configuration entry
touchscreen:
platform: ft5x06
id: my_touchscreen
Configuration variables:
************************
- **id** (*Optional*, :ref:`config-id`): Manually set the ID of this touchscreen.
- **rotation** (*Optional*): Set the rotation of the touchscreen. By default this will be set to match the display associated with the touchscreen, but this allows more control. Choices are ``0``, ``90``, ``180`` and ``270``.
- All other options from :ref:`Touchscreen <config-touchscreen>`.
See Also
--------
- :apiref:`ft5x06/touchscreen/ft5x06_touchscreen.h`
- :ghedit:`Edit`