chiark / gitweb /
do not show plat edges as rails
[trains.git] / hostside / fun-updown
1 #!/bin/sh
2 set -e
3
4 while true; do
5         for x in '0 11' '-- 11 0 -1'; do
6                 echo $x;
7                 for f in `numbers $x`; do
8                         sleep 20; g=$(($f*$f));
9                         echo $f $g;
10                         ./hostside-old -s/dev/ttya0 speed126 2 $g 0
11                 done
12         done
13 done