Trait embedded_hal::digital::OutputPin
[−]
[src]
pub trait OutputPin { fn is_high(&self) -> bool; fn is_low(&self) -> bool; fn set_low(&mut self); fn set_high(&mut self); }
Single digital output pin
Required Methods
fn is_high(&self) -> bool
Is the output pin high?
fn is_low(&self) -> bool
Is the output pin low?
fn set_low(&mut self)
Sets the pin low
fn set_high(&mut self)
Sets the pin high