buoncetime is not a debouce
A Python module to control the GPIO on a Raspberry Pi
Brought to you by:
croston
Hello everyone!
Before complaining I want to thank you for the effort you are putting in this project :)
I am using the bouncetime parameter, which I expected to be a debounce.
I expected it to wait for a given time before generate an edge event, checking for the pin to be stable in the new state.
But instead bouncetime is a minimum time between two generated events.
The event is generated immediately, without any wait.
Possible solutions I see giving a look to the code:
At least... the internet should stop talking about bouncetime as a debounce