In that case, then you have no choice; PRU is your only solution on the BBB.
Regards, John > On Apr 2, 2016, at 10:11 PM, Dennis Lee Bieber <[email protected]> wrote: > > On Sat, 2 Apr 2016 21:35:18 -0700, John Syne > <[email protected]> declaimed the following: > >> Why not write this with a Kernel Module: >> >> http://derekmolloy.ie/kernel-gpio-programming-buttons-and-leds/ >> >> This is much faster and will do what you want. >> > Well, actually -- I'm only doing it as an exercise in response to some > (IMO, atrocious) code from the OP. One reason it took most of the day is I > hadn't done any C++ in 15 years so had to flip pages in Stroustrup to even > find the syntax for classes... (I was also using M$ VS 2010 as the editor > and it objects to some features not implemented by M$; sftp to get the > source over for compilation). > > I'm not a Linux programmer -- especially not when it comes to the guts > of the OS... The whole "everything is a file" grates on me. Device Tree > Overlays? I used to think setting up pins on a TIVA was onerous. > > Hmmm, and part one of that article doesn't give me much hope -- if he's > reporting 15-25 microsecond response time (part 1: 20usec +/- 5), and we're > looking at a device that uses a 26-28usec high state to indicate a 0-bit > (the 1 bit is an 80usec high state. > > {PS: I also abhor web sites with floating frames that obscure things when > printed, and no explicit print icon -- as the frame appears on every page > of the print-out overlaying the content} > > -- > Wulfraed Dennis Lee Bieber AF6VN > [email protected] HTTP://wlfraed.home.netcom.com/ > > -- > 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.
