Trait embedded_hal::digital::OutputPin  
source · pub trait OutputPin: ErrorType {
    // Required methods
    fn set_low(&mut self) -> Result<(), Self::Error>;
    fn set_high(&mut self) -> Result<(), Self::Error>;
    // Provided method
    fn set_state(&mut self, state: PinState) -> Result<(), Self::Error> { ... }
}Expand description
Single digital push-pull output pin.