I am using Bonescript. I do not know C or C + +. Do you have another link about it? I just test all GPIO and found that only 7 can use attachInterrupt (). Still, thank you for the help!
Em domingo, 17 de novembro de 2013 22h17min42s UTC-2, rar76 escreveu: > > If you're looking for edge triggering, you can use poll(). That's what I > used for GPIO and it worked fine. > > > > http://raspberrypi.stackexchange.com/questions/3440/how-do-i-wait-for-interrupts-in-different-languages<http://www.google.com/url?q=http%3A%2F%2Fraspberrypi.stackexchange.com%2Fquestions%2F3440%2Fhow-do-i-wait-for-interrupts-in-different-languages&sa=D&sntz=1&usg=AFQjCNHKjG08L4R_FbV7MsHbyZi5yEJ65A> > http://manpages.courier-mta.org/htmlman2/poll.2.html<http://www.google.com/url?q=http%3A%2F%2Fmanpages.courier-mta.org%2Fhtmlman2%2Fpoll.2.html&sa=D&sntz=1&usg=AFQjCNH128tp5cMa4KcgI8I8El3EWljBdg> > > > If I remember correctly, the first trigger is "garbage" and can be just > thrown away, but after that, it will trigger every time GPIO goes up or > down, depending on how you set it. This is done in kernel space, and if > you use TOP, you'll see it does not actually poll constantly. > > Regards, > Rene > > On Sunday, November 17, 2013 11:23:50 AM UTC-4, Camilo Bernardes Pereira > wrote: >> >> You can configure attachInterrupt () on any GPIO? >> Tested in several but only worked in P8_13 and P8_19 and still sometimes >> stops working. >> I need 24 GPIO monitor in real time, as events have fired in fractions of >> a second. >> Can anyone help me please. >> > -- 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.
