excellent, thanks. this is my first exposure to overlays etc... now i see about sysfs. i'll just blink leds in my code. using threads won't suck up hardly any processor time. ciao,
On Thu, May 4, 2017 at 12:07 AM William Hermans <yyrk...@gmail.com> wrote: > Can you ask a more specific question ? It seems as though as you;re asking > if you can use the sysfs file system to control USR0-USR3 ? > The answer is yes, you can, but it largely depends on which drivers > you're loading with your hardware. Using /dev/mem/ + mmap all you need to > know if the memory map for the GPIO pins. But for sysfs access, you need to > load certain drivers at boot. > > On Wed, May 3, 2017 at 11:19 PM, michael c <abrax...@gmail.com> wrote: > >> i really thought i would find this online someplace but, >> can i use the trigger and heartbeat type functions on a LED connected to >> GPIO on my custom board based on the BBB design? >> this would save me time in my code that is already quite busy. >> i noticed some example from 3.14 kernel days >> i'm 4.4.62 and ubuntu 16.04 >> and controlling them from c code. >> >> thanks so much, >> Michael >> >> -- >> 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 beagleboard+unsubscr...@googlegroups.com. > > >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/2cd59eb1-ec6f-4c29-a548-072ba0633aee%40googlegroups.com >> <https://groups.google.com/d/msgid/beagleboard/2cd59eb1-ec6f-4c29-a548-072ba0633aee%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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 a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/V_xNqTVXtbU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/CALHSORq-qjC62rrD6yoo-W5twFWsdGN%2BrhXDPNSxDduPTEiayw%40mail.gmail.com > <https://groups.google.com/d/msgid/beagleboard/CALHSORq-qjC62rrD6yoo-W5twFWsdGN%2BrhXDPNSxDduPTEiayw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAHSSfWPZ%3D6%2BDOENYgi%2Bmw3ghad-STYHL5CdyJN3XWQyzgtGn7Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.