gpio
gpio copied to clipboard
Use channels to watch for events
BeginWatch(Edge, IRQEvent) could have a more Go like API to handle events like signal.Notify https://golang.org/pkg/os/signal/#Notify
I'm sorry but I haven't worked on this package in years. I'm unlikely to implement this feature.
I recommend you look at the work happening in the x/exp/gpio repo.
On Tue, Jun 7, 2016 at 2:53 PM, Daker Fernandes Pinheiro < [email protected]> wrote:
BeginWatch(Edge, IRQEvent) could have a more Go like API to handle events like signal.Notify https://golang.org/pkg/os/signal/#Notify
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davecheney/gpio/issues/23, or mute the thread https://github.com/notifications/unsubscribe/AAAcA97YLb-lEuLu6xOqpfjB3V_dsNTEks5qJPlWgaJpZM4Ivjlq .
Dear Dave
Do you know where I can find any more informations to implement x/exp/gpio on a raspberry.
I tried to found but I did not find how to Initiate the driver to Open the communication with the Pi but I did not arrive to do it..
Thank you for your time.
Best Paul
I'm pretty sure that package supports the rpi's Gpio ports already, it was one of the first platforms they got working.
On 17 Aug 2016, at 19:53, paul B. [email protected] wrote:
Dear Dave
Do you know where I can find any more informations to implement x/exp/gpio on a raspberry.
I tried to found but I did not find how to Initiate the driver to Open the communication with the Pi but I did not arrive to do it..
Thank you for your time.
Best Paul
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Ok, I will ask the team leader to see how to implement.
If anyone's looking for a Go lib with a pin channel, mine supports it on any board with sysfs https://github.com/brian-armstrong/gpio