mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-13 20:11:53 +01:00
Merge pull request #1751 from aquaticus/patch-1
Update rotary encoder doc
This commit is contained in:
commit
2fea3a420b
@ -36,6 +36,18 @@ outputs go in the wrong direction, you can just swap these two pins.
|
||||
pin_a: D1
|
||||
pin_b: D2
|
||||
|
||||
To modify additional parameters of pins like active state or pull-ups, you may add extra options.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
# Example of advanced pin configuration
|
||||
pin_a:
|
||||
number: D5
|
||||
inverted: true
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user