mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
change docs to suggest logger config (#378)
using sample config instead of warning at top to match other uart components
This commit is contained in:
parent
4ff46e74e2
commit
b3c5bf437b
@ -11,11 +11,6 @@ connected via a :doc:`UART bus </components/uart>` supporting both receiving and
|
|||||||
The uart bus must be configured at the same speed of the module which is by default 9600bps.
|
The uart bus must be configured at the same speed of the module which is by default 9600bps.
|
||||||
The required connection wires are ``+VCC``, ``GND``, ``RX`` and ``TX``.
|
The required connection wires are ``+VCC``, ``GND``, ``RX`` and ``TX``.
|
||||||
|
|
||||||
.. warning::
|
|
||||||
|
|
||||||
If you are using the :doc:`logger` make sure you are not using the same pins for ``TX`` and ``RX`` or
|
|
||||||
otherwise disable the uart logging with the ``baud_rate: 0`` option.
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
This module requires a power supply between 3.8V and 4.2V that can handle current spikes up
|
This module requires a power supply between 3.8V and 4.2V that can handle current spikes up
|
||||||
@ -40,6 +35,9 @@ The required connection wires are ``+VCC``, ``GND``, ``RX`` and ``TX``.
|
|||||||
format: "Received '%s' from %s"
|
format: "Received '%s' from %s"
|
||||||
args: [ 'message.c_str()', 'sender.c_str()' ]
|
args: [ 'message.c_str()', 'sender.c_str()' ]
|
||||||
|
|
||||||
|
logger:
|
||||||
|
baud_rate: 0 # disable uart logger on esp 8266
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user