Merge #400
400: Add switch-hal r=eldruin a=chrysn The switch-hal crate just extends embedded-hal by a bit (hah!) -- but I find it very useful, for it provides clean "on"/"off" semantics for what is otherwise merely "high"/"low", and thus dependent on the actual wiring (both LEDs and buttons are just as easy to wire either way). It's not used a lot ([crates assume active-low](https://github.com/jamesmunns/blinq/issues/4) instead), but I hope that this changes once it is more visible through here. Co-authored-by: chrysn <chrysn@fsfe.org>pull/401/head
commit
157a375fd8
Loading…
Reference in New Issue