mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-12-21 19:14:36 +02:00
22 lines
284 B
Bash
Executable File
22 lines
284 B
Bash
Executable File
#!/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
|