debouncr
debouncr copied to clipboard
A simple no-std input debouncer to detect rising edges with minimal RAM requirements.
Create an example with RTFM that works on the blue pill.
Optional wrapper type that takes an input pin and implements the necessary embedded-hal traits. Idea shamelessly ripped off https://crates.io/crates/debounced-pin (thanks Winseven4lyf!)
This PR addresses the need for a generic `Debouncer` implementation by introducing a trait around all `RepeatN` types. This trait encapsulates the correct associated type for each `RepeatN`. For example,...