Hi!
My ESP32 based PCB has an encoder that is connected to GND so my pins have to be pulled up. Unfortunately the pinMode is set in the constructor and I cannot change the variable areEncoderPinsPulldownforEsp32 before creating the AiEsp32RotaryEncoder object. That's why I extended the constructor arguments and set the default values so it won't change the current behavior.
Hi! My ESP32 based PCB has an encoder that is connected to GND so my pins have to be pulled up. Unfortunately the pinMode is set in the constructor and I cannot change the variable
areEncoderPinsPulldownforEsp32
before creating the AiEsp32RotaryEncoder object. That's why I extended the constructor arguments and set the default values so it won't change the current behavior.