You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Danilo Bargen 964cb3fa56
Release v0.2.2
2 years ago
.github/workflows Set up CI 2 years ago
src Fix Stateful debouncer initialization (#7) 2 years ago
.gitignore Initial commit 2 years ago
CHANGELOG.md Release v0.2.2 2 years ago
Cargo.toml Release v0.2.2 2 years ago
LICENSE-APACHE Initial commit 2 years ago
LICENSE-MIT Initial commit 2 years ago
README.md Update README 2 years ago
RELEASING.md Release v0.1.0 2 years ago

README.md

Debouncr

Build status Crates.io Version Crates.io Downloads No Std

A simple and efficient no_std input debouncer that uses integer bit shifting to debounce inputs. The algorithm can detect rising and falling edges and only requires 1 byte of RAM for detecting up to 8 consecutive high/low states or 2 bytes of RAM for detecting up to 16 consecutive high/low states.

The algorithm is based on the Ganssle Guide to Debouncing (section "An Alternative").

Docs: https://docs.rs/debouncr

License

Licensed under either of

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.