brian-armstrong / gpio

Go library to do GPIO on systems with /sys/class/gpio (sysfs)
BSD 3-Clause "New" or "Revised" License
139 stars 50 forks source link

Support/expose channels #2

Closed mikegleasonjr closed 6 years ago

mikegleasonjr commented 6 years ago

Instead of calling a blocking function, listening to a channel would be better.

We could select between a gpio event and something else.

brian-armstrong commented 6 years ago

This is done. Thanks for the suggestion.

mikegleasonjr commented 6 years ago

Sweet!