You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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](jamesmunns/blinq#4) instead), but I hope that this changes once it is more visible through here.
Co-authored-by: chrysn <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -700,6 +700,8 @@ devices which go beyond what is available in [`embedded-hal`]:
700
700
-[`atat`](https://github.com/BlackbirdHQ/atat): Abstraction crate to ease writting AT based driver crates - 
701
701
-[`embedded-nal`](https://github.com/rust-embedded-community/embedded-nal): An Embedded Network Abstraction Layer - 
702
702
-[`embedded-storage`](https://github.com/rust-embedded-community/embedded-storage): An Embedded Storage Abstraction Layer
703
+
-[`switch-hal`](https://github.com/rubberduck203/switch-hal): An "on"/"off" abstraction for input and output switches - 
0 commit comments