#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_debounce_new(
samples: u16,
initial: bool,
) -> *mut PamojaDebounceExpand description
Creates a debouncer that requires samples agreeing readings to change state.
§Returns
A handle the caller must release with pamoja_debounce_free.
§Safety
The returned handle must be freed exactly once.