From 1671dc5cbdf13305a5ebd52bd611b0bb6f5c1199 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Sat, 9 May 2020 18:15:03 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b142499..0257eecc 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ The IR codes are send "as is" to LMS, so only a Logitech SB remote from Boom, Cl In AirPlay and Bluetooth mode, only these native remotes are supported, I've not added the option to make your own mapping -See "set GPIO" below to set the GPIO associated to infrared receiver. +See "set GPIO" below to set the GPIO associated to infrared receiver (option "ir"). ### Set GPIO The parameter "set_GPIO" is use to assign GPIO to various functions. @@ -112,6 +112,8 @@ If you have an audio jack that supports insertion (use :0 or :1 to set the level You can set the Green and Red status led as well with their respective active state (:0 or :1) +The \ parameter set the GPIO associated to an IR receiver. No need to add pullup or capacitor + Syntax is: ``` From 63bfa1daa89857e724583c98f467ba5ea8002be3 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Sat, 9 May 2020 18:15:48 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0257eecc..94ce7d63 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,8 @@ A=,B=[,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 ```