Trait embedded_hal::digital::InputPin
source · pub trait InputPin: ErrorType {
// Required methods
fn is_high(&self) -> Result<bool, Self::Error>;
fn is_low(&self) -> Result<bool, Self::Error>;
}
Expand description
Single digital input pin.