Trait embedded_hal::digital::OutputPin
[−]
[src]
pub trait OutputPin {
fn set_low(&mut self);
fn set_high(&mut self);
}Single digital push-pull output pin
Required Methods
fn set_low(&mut self)
Drives the pin low
NOTE the actual electrical state of the pin may not actually be low, e.g. due to external electrical sources
fn set_high(&mut self)
Drives the pin high
NOTE the actual electrical state of the pin may not actually be high, e.g. due to external electrical sources