You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi,professor:
i use wait_for_edge function, detect button pushed when GPIO::EDGE::FALLING, but sometimes it got one, and sometime it got multi events, so , what can i do? eliminate the mistake trgger?
thanks , please help me!
The text was updated successfully, but these errors were encountered:
Hi. have you tried to set debounce time for the wait_for_edge function?
for example:
// debounce_time set to 10ms// no timeoutGPIO::wait_for_edge(channel, GPIO::RISING, 10);
If you already set the debounce time, what happens if you increase it? Does it fix your issue?
And could you give us the information of your HW setup? I'm not familiar with HW stuff at all, but somebody else may give you some advice that can fix your issue from the HW aspect.
hi,professor:
i use wait_for_edge function, detect button pushed when GPIO::EDGE::FALLING, but sometimes it got one, and sometime it got multi events, so , what can i do? eliminate the mistake trgger?
thanks , please help me!
The text was updated successfully, but these errors were encountered: