Closed jessebraham closed 2 years ago
Fixes #75.
Also replaced the implementation of the ToggleableOutputPin trait with toggleable::Default, as they're identical.
ToggleableOutputPin
toggleable::Default
LGTM! I tested with the blinky example, switching out the explicit set_{low|high} for toggle and it works beautifully :).
set_{low|high}
Thanks!
Fixes #75.
Also replaced the implementation of the
ToggleableOutputPin
trait withtoggleable::Default
, as they're identical.