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

timediff always 0 for ButtonUpOrDown #88

Open
Sawtaytoes opened this issue Jul 1, 2019 · 0 comments
Open

timediff always 0 for ButtonUpOrDown #88

Sawtaytoes opened this issue Jul 1, 2019 · 0 comments

Comments

@Sawtaytoes
Copy link

Is there any reason timediff is always 0 for ButtonUpOrDown?

I looked through the Node.js code and am thinking either it's a firmware issue in the button, the code's wrong, or that it's not supposed to show up.

Reason being, if I listen for commands, the button tells me them. If I listen for up or down, it's relative to your distance from the Bluetooth host. That means I'd need timediff to figure out on my own how to debounce clicks.

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