Closed deltaphi closed 4 years ago
I like the additions. Can you provide an example for the timing please ?
Can you provide an example for the timing please ?
You mean as in "what does one do with the acceleration values"?
yes, something like: how to implement larger steps when turning faster
I should be able to lift something from my actual application later today. Unfortunately I don't have the hardware setup to actually runtime-try a limited setup. My hardware involving the encoder is quite integrated.
Here is an example. I verified that it at least compiles with Arduino 1.8.7 for an Arduino Uno.
EDIT: The library compiles with PlatformIO
Thank you !
This pull requests adds time-tracking between encoder increments. This allows a user of the library to determine the speed of rotation. The speed of rotation can be converted to an acceleration value.