-
Notifications
You must be signed in to change notification settings - Fork 276
Closed
Description
The documentation give a rather good overview of how to access pins using a pin's name. What I could not find though was how to access a pin by index. I would like to avoid matching like this:
match pin {
0=>pins.gpio0.into_mode(),
1=>pins.gpio1.into_mode(),
2=>pins.gpio2.into_mode(),
...Would that be possible to do?
Metadata
Metadata
Assignees
Labels
No labels