I know this has probably been asked repeatedly, but I cannot find subjects on it.
I have a 24 step rotary encoder, and have ir working to read steps. The MD_Rencoder library has a speed component in it.
With that here is what I am trying to do - also being very new to arduinos.
Set a limit for the steps the encoder response
So like 0 to 255 as min and max.
And adjust the step increment count based on the speed the encoder is turned.
So if turned slow the steps count 1 at a time.
Turning a little faster increments maybe 5 or 10 steps.
Spinning the encoder may increment 50 or more steps.
Any recommendations for code to map the min/max and speed? I am familiar with cup, but not very much on its syntaxes. So code samples would help.
Thank anyone for the help