You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I wonder why do I have to make 2 audible clicks (or dents) to get 1 step? (Using the ky-040 - the most common cheap encoders.)
I've tried to #define HALF_STEP but that didn't seem to help. Any hints would be great.
Thanks.
The text was updated successfully, but these errors were encountered:
In this case, you're best bet is to probably just only count every other output from the library. So taking the examples in the code, only do work when 'counter' is even.
Though that still leaves the question about how to behave if say the encoder turns on 'click' CW, then is rotated CCW back one click. Should this result in another CCW output, or not? This is something your software can also handle.
In theory it's also possible to write additional state machine tables, but client-side is the initial place to take a stab at it.
I have the same issue due to encoder waveform not matching (images attached)... I guess the best way to solve this is create a new state table... any assistance will be greatly appreciated... I'll share what I come up with if I solve this first.
Hi!
I wonder why do I have to make 2 audible clicks (or dents) to get 1 step? (Using the ky-040 - the most common cheap encoders.)
I've tried to #define HALF_STEP but that didn't seem to help. Any hints would be great.
Thanks.
The text was updated successfully, but these errors were encountered: