pub trait Common {
// Required methods
fn enable<P: OutputPin>(pin: &mut P) -> Result<(), <P as OutputPin>::Error>;
fn disable<P: OutputPin>(pin: &mut P) -> Result<(), <P as OutputPin>::Error>;
}
Expand description
The polarity of the LED; either anode or cathode.