loerac / BB-usr-led

Turning on, off, or flashing the built in LED's on the BeagleBone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BB-usr-led

Choose between BeagleBone's usr0 - usr3 LED's to turn on, off, flash or look at the status. The input for the usr[n] LED's is in bitwise, where n is 0 - 3. To turn on all of them on, enter 15 1 where 15 is the LED's and 1 is turning the LED's ON. To flash usr0 and usr2, enter 5 3, where 5 the LED's and 3 is flashing the LED's. For a better clarification on bitwise, click here.

This certainly works on the Beaglebone Green Wireless and Black.

Bugs

There are bugs in the all the versions - it will crash out of nowhere and it has to do with clearing the input buffer. Currently looking into a effective ways to clear the input buffer out since I already am clearing it.

About

Turning on, off, or flashing the built in LED's on the BeagleBone


Languages

Language:C 32.6%Language:C++ 31.9%Language:Perl 18.1%Language:Python 17.4%