OPi.GPIO icon indicating copy to clipboard operation
OPi.GPIO copied to clipboard

Support for bouncetime

Open rm-hull opened this issue 7 years ago • 5 comments

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

rm-hull avatar May 27 '17 16:05 rm-hull

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?

shaunmulligan avatar Jul 30 '17 12:07 shaunmulligan

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?

gw0 avatar Nov 19 '17 12:11 gw0

Is there a work in progress on this? How can we contribute for this?

adonespitogo avatar Jan 18 '20 09:01 adonespitogo

hi, is there any progress on this one? also happy to take a shot at it if that would help

TomW1605 avatar Dec 01 '22 05:12 TomW1605

Go for it. I'm not active on this project but will merge PRs and publish to pypi if folks want to submit changed

rm-hull avatar Dec 01 '22 07:12 rm-hull