From d8862928c52e93f2c387eb37c13136aafcb6a82d Mon Sep 17 00:00:00 2001 From: Mynasru <30989850+Mynasru@users.noreply.github.com> Date: Sat, 6 Mar 2021 14:25:25 +0100 Subject: [PATCH] Uart invert option for ESP32 (#1039) --- components/uart.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/uart.rst b/components/uart.rst index 064c3c882..50bc100dc 100644 --- a/components/uart.rst +++ b/components/uart.rst @@ -52,6 +52,10 @@ Configuration variables: - **stop_bits** (*Optional*, int): The number of stop bits to send. Options: 1, 2. Defaults to 1. - **id** (*Optional*, :ref:`config-id`): Manually specify the ID for this UART hub if you need multiple UART hubs. +ESP32 options: + +- **invert** (*Optional*, boolean): Invert the logic levels of the RX and TX pins. Options: ``True`` or ``False``. Defaults to ``False``. + .. _uart-hardware_uarts: Hardware UARTs