OPi.GPIO
OPi.GPIO copied to clipboard
Support for bouncetime
Pull request #8 added faux-compatibility for bouncetime by adding an optional parameter, so that existing code doesn't break. This issue is a placeholder to add real support for bouncetime.
Related (originating) issue: #6
Hey @rm-hull thanks for this great library, I am currently trying to use it for a simple user interface and hitting into the problem of multiple edge events per button press. Do you have any recommended work around or tips/pointers on implementing this feature?
Isn't the solution to just remember the time at millisecond resolution of the last edge to which the library responded and then ignore all edges until bouncetime
time has passed?
Is there a work in progress on this? How can we contribute for this?
hi, is there any progress on this one? also happy to take a shot at it if that would help
Go for it. I'm not active on this project but will merge PRs and publish to pypi if folks want to submit changed