Closed rubberduck203 closed 4 years ago
Per #2, allow construction of OutputSwitch from an OutputPin via into_active_high_output_switch() and into_active_low_output_switch() methods.
OutputSwitch
OutputPin
into_active_high_output_switch()
into_active_low_output_switch()
i.e.
let sw = gpiob.pb4 .into_push_pull_output() .into_active_high();
Per #2, allow construction of
OutputSwitch
from anOutputPin
viainto_active_high_output_switch()
andinto_active_low_output_switch()
methods.i.e.