kidoman / embd

Embedded Programming Framework in Go
http://embd.kidoman.io
MIT License
1.28k stars 157 forks source link

gpiodriver: added pinmap accessor for introspection usage #18

Closed benjamind closed 9 years ago

benjamind commented 9 years ago

I needed to be able to inspect what pins are available on a device running embd. This little accessor just exposes the PinMap so I can enumerate the pins and present a UI to users to select from them.