[][src]Function debouncr::debounce_2

pub fn debounce_2(initial_state_pressed: bool) -> Debouncer<u8, Repeat2>

Create a new debouncer that can detect a rising or falling edge of 2 consecutive logical states.