On Tue, May 20, 2014 at 10:32 AM, Jason Kridner <jkrid...@gmail.com> wrote: > > > On Sunday, May 18, 2014 4:19:54 PM UTC-4, RobertCNelson wrote: >> >> >> >> >> On Fri, May 16, 2014 at 7:24 PM, Eric Fort <eric.f...@gmail.com> wrote: >>> >>> As an alternative or maybe in conjunction you could have the 4 LED's >>> blink together in the following order: >>> 0000000111010100011101110111000111010001 (DONE) with a bit duration >>> somewhere between 250 & 62.5 milliseconds, 1 representing on, and 0 >>> representing off and the string repeating a number of times prior to off or >>> infinitely. come to think of this, have the script as it's final task >>> compute an MD5 or similar checksum on what was just written to verify a >>> proper write and on success start flashing the above sequence. if somewhere >>> along the process something went wrong causing it to exit, halt, or >>> otherwise not obtain success it could blink >>> 000000010101110100010111000101000101110101 (FAIL) using the same timing as >>> above. Just a thought >> >> >> It would be cooler if it did the cylon back n forth while flashing.. > > > Not as cool a doing a cylon, but it is at least a recognizable sweeping > pattern (https://gist.github.com/jadonk/71a409ffaa151eb1f8e8): > > #!/bin/sh > BASE=/sys/class/leds/beaglebone\:green\:usr > echo timer > ${BASE}0/trigger > echo 2000 > ${BASE}0/delay_off > sleep 0.5 > echo timer > ${BASE}1/trigger > echo 2000 > ${BASE}1/delay_off > sleep 0.5 > echo timer > ${BASE}2/trigger > echo 2000 > ${BASE}2/delay_off > sleep 0.5 > echo timer > ${BASE}3/trigger > echo 2000 > ${BASE}3/delay_off
Thanks Jason! Added that: https://github.com/RobertCNelson/boot-scripts/commit/d75480ef2d4f6b6e415ca5297e193c5e83f9aa3f It'll get pulled in as we update things. Regards, -- Robert Nelson http://www.rcn-ee.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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.