Skip to content
Igor edited this page Jun 3, 2023 · 2 revisions

Welcome to the ai-esp32-rotary-encoder wiki!

Please use the examples provided by the library to explore the possibilities.

Library is tested with ESP32 and ESP8266 microcontrollers. I tried also with Arduino Nano using for pin A and B (wnich require interrupts) PINS 2 and 3. After first run it seems that it doesn't work. Since I am not any more interested for Arduino UNO / Nano, perhaps someone can fix the problem.

Library currently supports setting minimum, maximum value. But also an option for cycling like 1,2,3,4,1,2,3,4... which can be useful for stuff like menus.

Also there is property which can tell if there is change after previous read. So you can easily stop processing if nothing changed.

Clone this wiki locally