mathertel / RotaryEncoder

RotaryEncoder Arduino Library
Other
328 stars 107 forks source link

Fix #24 #26

Closed giupo closed 3 years ago

mathertel commented 3 years ago

Thanks, I also do some rewrite of the examples e.g. include the calculation formular and simplify some lines.

mathertel commented 3 years ago

Indeed the whole direction checking is not relevant when using the signed (newPos - lastPos) with the factor. See new version. I shortened some variable names...