IO programming Foxboard

jean Huens, jean@huens.be, april 3 2006

Examples on http://www.acmesystems.it/index.php/How_to_use_the_IO_line

Test1 : A shell program

My first test was a simple shell program, based on the output of "statusled --help"
while true
do
statusled red
sleep 1
statusled green
sleep 1
statusled yellow
sleep 2
done

Amazingly the led near J8 flashes red. Probably  the green and yellow color arguments are not available in hardware?

Test 2: Flash

TOBEDONE
[root@axis-00408c011853 /root]104# statusled off
[root@axis-00408c011853 /root]104# statusled flash 3
Now the led flashes red 3? times per second.

Test 3: