blob: 107d3ec0914c75448a7740d6a7156114b12b899e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#!/bin/sh
PORT=3005
function setfreq()
{
./pdsend $PORT <<EOF
freq $1 $2;
EOF
}
#
# Read in the script
#
./pdsend $PORT < test.txt
sleep 3
setfreq 220 5000
sleep 5
setfreq 1000 100
sleep 1
setfreq 100 50
sleep 1
setfreq 3000 1000
sleep 1
setfreq 100 1000
sleep 1
setfreq 3000 1000
sleep 1
setfreq 100 1000
sleep 1
setfreq 3000 1000
sleep 1
setfreq 100 1000
# and so on
|