👎Deprecated since 0.2.2: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Expand description
Single digital input pin
This trait is available if embedded-hal is built with the "unproven"
feature.
This version of the trait is now deprecated. Please use the new InputPin
trait in
digital::v2::InputPin
.
Required Methods
Implementors
impl<T, E> InputPin for OldInputPin<T>where
T: InputPin<Error = E>,
E: Debug,
Implementation of v1::InputPin
trait for v2::InputPin
fallible pins
where errors will panic.