pub const DEBOUNCE_STABLE_SAMPLES: u8 = 5;Expand description
Number of consecutive identical samples required for the debouncer to accept a new stable state.
At a 1 ms sampling rate this gives a 5 ms minimum settling time, well above the typical 1 ms of switch bounce we expect from the tactile switches we use.