-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathideas
69 lines (64 loc) · 1.03 KB
/
ideas
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
xa {
spawn {
// read and set azimuth
fopen(300) {
file.seek(1)
azimuth/x = fread()
}
link 800, 799, 800
while (#azim < azimuth/x) {
#motr = 1
}
while (#azim > azimuth/x) {
#motr = -1
}
HALT
}
spawn {
// read and set elevation
wait 4
fopen(300) {
file.seek(3)
elevation/x = fread()
}
link 800, 799, 801
while (#elev < elevation/x) {
#motr = 1
}
while (#elev > elevation/x) {
#motr = -1
}
HALT
}
// read and set frequency
wait 8
fopen(300) {
file.seek(5)
frequency/x = fread()
}
fopen(301) {
link 800, 799
#freq = frequency/x
// encrypt and transmit the file over the wire
#data = fread()
while (!feof) {
key/x = $ch
data/t = fread()
#data = fread()
}
file.wipe()
}
}
xb {
data_count/x = 24
link 800
fopen(199) {
while(data_count/x > 0) {
if (feof) {
file.seek(-9999)
}
$ch = fread()
data_count/x -= 1
}
}
}