debounced-pin

Crates.iodebounced-pin
lib.rsdebounced-pin
version0.3.0
sourcesrc
created_at2019-02-16 04:29:00.893232
updated_at2019-12-18 10:22:21.017827
descriptionA platform-agnostic debounce library. It also adds a wrapper for an `InputPin` that debounces it's `is_high()` and `is_low()` methods.
homepage
repositoryhttps://github.com/Winseven4lyf/rust-debounced-pin
max_upload_size
id115080
size51,695
Quinn Johnson (Winseven4lyf)

documentation

README

debounced-pin

Build Status Crate Docs

A platform-agnostic debounce library.

This library provides an update() method to debounce a pin.

Implements approach 1 from here (archived 2018-09-03).

It also adds a wrapper for an InputPin that debounces it's is_high() and is_low() methods.

Installation

Add this to your Cargo.toml:

[dependencies]
debounced-pin = "0.3.0"

This crate currently requires embedded-hal to be built using the unproven feature, for access to the InputPin trait.

License

This project is licensed under either of

at your option.

Commit count: 14

cargo fmt