-
Notifications
You must be signed in to change notification settings - Fork 72
Home
igorantolic edited this page Dec 31, 2017
·
2 revisions
Welcome to the ai-esp32-rotary-encoder wiki!
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.