pub trait InputPin: ErrorType { fn is_high(&self) -> Result<bool, Self::Error>; fn is_low(&self) -> Result<bool, Self::Error>; }
Single digital input pin
Is the input pin high?
Is the input pin low?