Ok I am answering my own question, I found the following page that 
describes how to do this. I haven't tested yet though

https://developer.ridgerun.com/wiki/index.php/How_to_use_GPIO_signals


On Thursday, February 13, 2014 1:56:18 PM UTC-6, Carl-Fredrik Sundström 
wrote:
>
>
>
> I have been trying to find a good example of GPIO Input where a thread 
> blocks until input changes.
> Are these any such examples ? Is it even possible ? I have looked at Derek 
> Molloy's code it is
> polling file in a tight loop.
>
> Certainly there has to be another way of doing the GPIO input more 
> efficiently?
>
>
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to