1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-12-18 18:38:28 +02:00

m1rc3/norruption/1/loop8: forgot to commit this one

This commit is contained in:
Werner Almesberger 2011-10-09 22:24:38 -03:00
parent 834157426a
commit f3bfd1f2c0

21
m1rc3/norruption/1/loop8 Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
n=0
while true; do
n=`expr $n + 1`
echo ===== $n =====
labsw ch1=0 ch2=0
sleep 5
labsw ch1=1 ch2=1
sleep 0.01
labsw ch1=0 ch2=0
sleep 2
labsw ch1=1 ch2=1
sleep 2
make -C ../../m1/jtag-boot boot
sleep 8
echo echo === $n === `date` >/dev/ttyUSB0
sleep 2
done