Add a note about INPUT_PULLUP (#830)

* Add a note about INPUT_PULLUP

* Fix lint
This commit is contained in:
Artur 'Wodor' Wielogorski 2020-11-08 21:10:48 +00:00 committed by GitHub
parent 20ac246a81
commit 253f124fbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,20 @@ Remote code selection (exactly one of these has to be included):
remote_transmitter:
pin: 5
carrier_duty_percent: 100%
.. note::
To caputure the codes more effectively with directly connected receiver like tsop38238 you can try to use `INPUT_PULLUP`:
.. code-block:: yaml
remote_receiver:
pin:
number: D4
inverted: True
mode: INPUT_PULLUP
dump: all
See Also
--------