-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setOffset() fails when called again #51
Comments
Thanks for reporting the issue.
Can you elaborate, give examples what you expect? |
just a thought, do you need a function like
|
Suppose, at system start, the encoder reads 200 degrees. The problem is that the |
Yes, something like
|
I have created a develop branch which includes the increaseOffset() function. |
@fahadshihab |
Yup. This works. Thanks! |
The
setOffset()
function does not work as expected when called more than once after the program starts. This makes it difficult to zero again when the program is running.The current workaround is to use
setOffset()
in conjunction withgetOffset()
but the user has to implement the math for it.The text was updated successfully, but these errors were encountered: