Skip to content
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

Missing click #25

Open
ghost opened this issue Dec 28, 2017 · 1 comment
Open

Missing click #25

ghost opened this issue Dec 28, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 28, 2017

Using Arduino ProMicro some clicks from the push button were not detected. This solved the problem in the example :
...
ClickEncoder::Button b = encoder->getButton();
delayMicroseconds(5); // added small delay to avoid missing click
if (b != ClickEncoder::Open) {
...

@soligen2010
Copy link

Just FYI, My fork of this library has a number of bug fixes and enhancements. I had this experience too and fixed it, but it was a different fix than what you have. Perhaps it is the same issue or perhaps not. If you like, you can try my fork and see if it works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant