Open scarrrr316 opened 1 month ago
The problem is that the code is unable to detect the initial state correctly, causing fail detection of the first half-step.
The way I solved the problem was to add this line:
self._process_rotary_pins(None)
to the end of the __init__ function of the RotaryIRQ class.
__init__
RotaryIRQ
I don't know how it works, but it works.
The problem is that the code is unable to detect the initial state correctly, causing fail detection of the first half-step.
The way I solved the problem was to add this line:
to the end of the
__init__
function of theRotaryIRQ
class.I don't know how it works, but it works.