diff options
Diffstat (limited to 'examples/ampel')
-rw-r--r-- | examples/ampel/ampel.txt | 18 | ||||
-rwxr-xr-x | examples/ampel/script.sh | 6 |
2 files changed, 24 insertions, 0 deletions
diff --git a/examples/ampel/ampel.txt b/examples/ampel/ampel.txt new file mode 100644 index 0000000..ea89f33 --- /dev/null +++ b/examples/ampel/ampel.txt @@ -0,0 +1,18 @@ +Blinkin' lights +--------------- + +Files: + - ampel.txt + - script.sh + +1. Run 'script.sh': + either: + ./script.sh + or: + sh script.sh + +4. Enjoy the lights! + + +For any question related to Cleware devices under Linux, feel free to +contact me at the following e-mail address: folkert@vanheusden.com diff --git a/examples/ampel/script.sh b/examples/ampel/script.sh new file mode 100755 index 0000000..ffa12e6 --- /dev/null +++ b/examples/ampel/script.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +while [ 1 ] +do + clewarecontrol -as `perl -e 'print rand(3); '` `perl -e 'print rand(2); '` +done |