Trait embedded_hal::digital::v1::OutputPin [−][src]
👎 Deprecated since 0.2.2:
Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Single digital push-pull output pin
This version of the trait is now deprecated. Please use the new OutputPin
trait in
digital::v2::OutputPin
.
Required methods
fn set_low(&mut self)
[src]
👎 Deprecated since 0.2.2:
Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
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)
[src]
👎 Deprecated since 0.2.2:
Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Drives the pin high
NOTE the actual electrical state of the pin may not actually be high, e.g. due to external electrical sources
Implementors
Loading content...