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
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
dirsb=%00111110
dirsc=%00000011
high c.1 'Bremlicht an
start:
'Bremslicht
count C.4, 300,b0 'Radsensor
if b0 > 0 then
low c.1
else
high c.1
endif
goto start
start1:
'Blinker
pulsin C.3,1,b1 'Servosignal
if b1>160 then
pulsout b.5,60000
pause 600
elseif b1<140 then
pulsout c.0,60000
pause 600
endif
goto start1
start2:
'Rundumkennleuchte
if pinc.2 = 1 then
pulsout b.1,7000
pause 70
pulsout b.2,7000
pause 70
pulsout b.3,7000
pause 70
pulsout b.4,7000
pause 70
endif
goto start2