Trait embedded_hal::digital::blocking::InputPin[][src]

pub trait InputPin {
    type Error: Debug;
    fn is_high(&self) -> Result<bool, Self::Error>;
fn is_low(&self) -> Result<bool, Self::Error>; }
Expand description

Single digital input pin

Associated Types

Error type

Required methods

Is the input pin high?

Is the input pin low?

Implementors