How would you plan on getting the information back from digitalRead if not by using a javascript callback ?
Also, more information is needed. e.g. what is your program goal ? On Mon, Jan 5, 2015 at 2:38 PM, 'Vasilis Iliadis' via BeagleBoard < [email protected]> wrote: > I am playing with GPIO and digitalRead in bonescript. I noticed that > although digitalRead is fairly fast the callback function takes a while. I > am asking the group if I should wait for the callback to be triggered or > just calling digitalRead is enough!. > > Thanks > > -- > 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/d/optout. > -- 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/d/optout.
