Trait button_driver::PinWrapper
source · pub trait PinWrapper {
// Required method
fn is_high(&self) -> bool;
// Provided method
fn is_low(&self) -> bool { ... }
}
Expand description
An abstraction over different switching APIs.