Pretty new here and I apologize if I'm missing something basic. The code works with my encoder (same KY040). However, I keep getting the following error:
Traceback (most recent call last):
File "Rotary.py", line 32, in rotary_change
RuntimeError: schedule queue full