Skip to content

Commit f8a3142

Browse files
authored
Update README.md
1 parent 819b922 commit f8a3142

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ one of the 2 pins: connect to microcontroller Gnd
125125
the other pin: connect to any microcontroller input pin -> in this example pin 25
126126

127127
**You have to set INPUT_PULLUP of Right and Left pins with `pinMode(ROTARY_ENCODER_A_PIN, INPUT_PULLUP);` and `pinMode(ROTARY_ENCODER_B_PIN, INPUT_PULLUP);`**
128-
Look example Esp32RotaryEncoderTheShortestExampleNoResistors.
128+
Look for example Esp32RotaryEncoderTheShortestExampleNoResistors.
129129

130130

131+
update 2024-03-10:
131132

132-
There is a new option areEncoderPinsPulldownforEsp32. By default it is true, but in case you use ESP32 you can set it to true.
133-
It doesn't make any change for ESP8266, only ESP32.
133+
There is an optional parameter in the constructor areEncoderPinsPulldownforEsp32. By default it is true, but in case you use ESP32 you can set it to false.
134+
Please note that it doesn't make any change for ESP8266, but only for ESP32.
134135

135136
```
136137
rotaryEncoder.areEncoderPinsPulldownforEsp32 = false;

0 commit comments

Comments
 (0)