[−][src]Trait rmicrobit::buttons::debouncing::Debounce
A debouncing algorithm and an associated state.
Required methods
fn debounce(&mut self, pressed_state: bool) -> bool
Accepts new polled data and returns the 'debounced' state.
pressed_state
true
indicates that the button is closed.