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