pub trait InputPin { fn is_high(&self) -> bool; fn is_low(&self) -> bool; }
Single digital input pin
This trait is available if embedded-hal is built with the "unproven" feature.
"unproven"
Is the input pin high?
Is the input pin low?