Update README.md

This commit is contained in:
philippe44
2020-05-09 18:15:48 -07:00
committed by GitHub
parent 1671dc5cbd
commit 63bfa1daa8

View File

@@ -133,6 +133,8 @@ A=<gpio>,B=<gpio>[,SW=gpio>[,volume][,longpress]]
HW note: all gpio used for rotary have internal pull-up so normally there is no need to provide Vcc to the encoder. Nevertheless if the encoder board you're using also has its own pull-up that are stronger than ESP32's ones (which is likely the case), then there will be crosstalk between gpio, so you must bring Vcc. Look at your board schematic and you'll understand that these board pull-up create a "winning" pull-down when any other pin is grounded.
See also the "IMPORTANT NOTE" on the "Buttons" section
### Buttons
Buttons are described using a JSON string with the following syntax
```