pub trait _embedded_hal_digital_OutputPin {
// Required methods
fn set_low(&mut self);
fn set_high(&mut self);
}๐Deprecated since 0.2.2:
Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
Available on crate feature
mcu-atmega only.Expand description
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ยง
Dyn Compatibilityยง
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".