ESP32 with EC11 Rotary Encoder

Hi guys,

I am working on a school project that requires me to use a rotary encoder to browse a menu structure. I have now found several examples that work well with Arduino Uno. However, I am struggling to find a library or code, that reads the rotary encoder reliably with the ESP32. If you can help, or know of examples, please let me know.

Kind regards

Have you tried the "counter" example in this library?