EKTF2232 Touchscreen Controller
================================

.. seo::
    :description: Instructions for setting up EKTF2232 touchscreen controller with ESPHome
    :image: ektf2232.svg
    :keywords: EKTF2232

The ``ektf2232`` component allows using the touchscreen controller
found in the :doc:`Inkplate 6 Plus </components/display/inkplate6>` with ESPHome.
The :ref:`I²C <i2c>` is required to be set up in your configuration for this sensor to work.

.. code-block:: yaml

    # Example configuration entry
    touchscreen:
      - platform: ektf2232
        interrupt_pin: GPIO36
        rts_pin: GPIO16


Configuration variables:
------------------------

- **id** (*Optional*, :ref:`config-id`): Manually set the ID of this touchscreen.
- **rts_pin** (*Optional*, :ref:`Pin Schema <config-pin_schema>`): The reset pin of the controller.
- **interupt_pin** (*Optional*, :ref:`Pin Schema <config-pin_schema>`): The touch detection pin.

- All other options from :ref:`config-touchscreen`.

See Also
--------

- :doc:`Touchscreen <index>`
- :doc:`Inkplate 6 Plus </components/display/inkplate6>`
- :apiref:`ektf2232/ektf2232.h`
- :ghedit:`Edit`
