-
Notifications
You must be signed in to change notification settings - Fork 908
add a quadrature encoder pio example #126
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
Conversation
@Wren6991 can you take a look at this |
sure, the BSD-3 license is perfectly fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming this works!
I put you as (C) pmarques-dev @ github. |
I've tested the code with an actual encoder and it works great. Since it uses a state machine to count the steps, it doesn't miss a step, even in scenarios with frequent changes of direction (like would happen with simpler approaches, like waiting for a specific transition in one phase and using the other phase to decide if it is positive or negative). |
"(C) pmarques-dev @ github" is fine. In the future, If you would prefer to use my real name is "Paulo Marques". |
No description provided.