4 ms·
Use a `Pin` type that doesn't include a generic. It's how I avoid this. Works out quite well! (Including for IO pins; I've seen some `Pin` abstractions that use
by the__alchemist 4y ago
Use a `Pin` type that doesn't include a generic. It's how I avoid this. Works out quite well! (Including for IO pins; I've seen some `Pin` abstractions that use 3+ layers of nested traits!)
Figure out which parts you like, and use them.
edit: Assumed you were referring to embedded GPIO pins. It seems this is something else.