Root/m1rc3/norruption/1/loop8

Source at commit f3bfd1f2c00b73816c9623e201b01570fb1585be created 12 years 5 months ago.
By Werner Almesberger, m1rc3/norruption/1/loop8: forgot to commit this one
1#!/bin/sh
2n=0
3while true; do
4    n=`expr $n + 1`
5    echo ===== $n =====
6
7    labsw ch1=0 ch2=0
8    sleep 5
9    labsw ch1=1 ch2=1
10    sleep 0.01
11    labsw ch1=0 ch2=0
12    sleep 2
13    labsw ch1=1 ch2=1
14    sleep 2
15
16    make -C ../../m1/jtag-boot boot
17
18    sleep 8
19    echo echo === $n === `date` >/dev/ttyUSB0
20    sleep 2
21done
22

Archive Download this file

Branches:
master



interactive