38 lines
1.1 KiB
ReStructuredText
38 lines
1.1 KiB
ReStructuredText
AXS15231 Touch Screen Controller
|
|
================================
|
|
|
|
.. seo::
|
|
:description: Instructions for setting up AXS15231 touch screen controller with ESPHome
|
|
:image: esp32_s3_box_3.png
|
|
:keywords: AXS15231
|
|
|
|
The ``axs15231`` touchscreen platform allows using the touch screen controllers based on the AXS15231 chip with ESPHome.
|
|
An :ref:`I²C <i2c>` bus is required to be set up in your configuration for this touchscreen to work.
|
|
|
|
|
|
Base Touchscreen Configuration
|
|
------------------------------
|
|
|
|
.. code-block:: yaml
|
|
|
|
# Example configuration entry
|
|
touchscreen:
|
|
platform: axs15231
|
|
id: my_touchscreen
|
|
|
|
Configuration variables:
|
|
************************
|
|
|
|
- **id** (*Optional*, :ref:`config-id`): Manually set the ID of this touchscreen.
|
|
- **interrupt_pin** (*Optional*, :ref:`Pin Schema <config-pin_schema>`): The touch detection pin.
|
|
- **reset_pin** (*Optional*, :ref:`Pin Schema <config-pin_schema>`): The reset pin.
|
|
|
|
- All other options from :ref:`Touchscreen <config-touchscreen>`.
|
|
|
|
|
|
See Also
|
|
--------
|
|
|
|
- :apiref:`axs15231/touchscreen/axs15231.h`
|
|
- :ghedit:`Edit`
|