2013-02-20 01:38:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
REFRESHRATE=1
|
2019-04-01 08:31:19 +00:00
|
|
|
LEDCONTROLLER="./ledcontroller"
|
2013-02-20 01:38:21 +00:00
|
|
|
|
|
|
|
while (true); do
|
|
|
|
|
|
|
|
for discoColor in blue red green aqua purple yellow white; do
|
2019-04-01 08:31:19 +00:00
|
|
|
echo Set color $discoColor
|
2013-02-20 01:38:21 +00:00
|
|
|
$LEDCONTROLLER $discoColor
|
|
|
|
|
|
|
|
sleep "$REFRESHRATE"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
done
|