mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Add note about uart parity on 1.21.0 and above (#1355)
This commit is contained in:
parent
def8aff094
commit
eb6058678d
@ -32,12 +32,19 @@ In some cases only **TX** or **RX** exists as the device at the other end only a
|
|||||||
ones used for logging. Therefore the UART data on the ESP8266 can have occasional data glitches especially with
|
ones used for logging. Therefore the UART data on the ESP8266 can have occasional data glitches especially with
|
||||||
higher baud rates..
|
higher baud rates..
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
From ESPHome 1.21.0 the ``ESP8266SoftwareSerial`` UART ``write_byte`` function had the parity bit fixed to be correct
|
||||||
|
for the data being sent. This could cause unexpected issues if you are using the Software Serial and have devices that
|
||||||
|
explicity check the parity. Most likely you will need to flip the ``parity`` flag in YAML.
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
# Example configuration entry
|
# Example configuration entry
|
||||||
uart:
|
uart:
|
||||||
tx_pin: D0
|
tx_pin: 1
|
||||||
rx_pin: D1
|
rx_pin: 3
|
||||||
baud_rate: 9600
|
baud_rate: 9600
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
Loading…
Reference in New Issue
Block a user