Skip to content

Commit 6e50ece

Browse files
authored
Update README.md
1 parent f8a3142 commit 6e50ece

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,12 @@ update 2024-03-10:
133133
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.
134134
Please note that it doesn't make any change for ESP8266, but only for ESP32.
135135

136+
Here in example pay attention to the end of the line - parameter ",false".
137+
138+
To modify other examples just add ", false" as an additional parameter.
139+
136140
```
137-
rotaryEncoder.areEncoderPinsPulldownforEsp32 = false;
141+
AiEsp32RotaryEncoder rotaryEncoder = AiEsp32RotaryEncoder(ROTARY_ENCODER_A_PIN, ROTARY_ENCODER_B_PIN, ROTARY_ENCODER_BUTTON_PIN, ROTARY_ENCODER_VCC_PIN, ROTARY_ENCODER_STEPS,false);
138142
```
139143

140144
There is a new option isButtonPulldown. By default it is false, but in case you use ESP32 you can set it to true. See Multi-select example.

0 commit comments

Comments
 (0)