Adresse | Befehl | Daten | Kommentar |
00 |
4 |
0 |
A=0 |
01 |
5 | 9 | Gelb inaktiv (PWM=0) |
02 | 1 | 9 | Rot1 aktiv, grün2 aktiv |
03 | 2 | C | Warte 10 Sek. |
04 |
4 |
F |
A=F |
05 |
5 | 9 | Gelb aktiv (PWM=F) |
06 | 1 | 1 | Rot1 aktiv, grün2 inaktiv |
07 | 2 | 9 | Warte 1 Sek. |
08 |
4 |
0 |
A=0 |
09 |
5 |
9 |
Gelb inaktiv (PWM=0) |
0A | 1 | 6 | Grün1 aktiv, rot2 aktiv |
0B |
2 | C | Warte 10 Sek. |
0C |
4 |
F |
A=F |
0D |
5 | 9 | Gelb aktiv (PWM=F) |
0E |
1 | 4 | Grün1 inaktiv, rot2 aktiv |
0F | 2 | 9 | Warte 1 Sek. |
10 | 9 | 0 | Springe an den Anfang |
Adresse |
Befehl |
Daten |
Kommentar |
00 |
9 |
9 |
Springe zu Adr. 09 |
01 |
2 |
A |
Warte 2s (UP: Pause zwischen Zeichen) |
02 |
1 |
F |
Alle 4 LEDs an |
03 |
4 |
F |
A=F |
04 |
5 |
9 |
PWM=A |
05 |
2 |
7 |
Warte 200ms |
06 |
4 |
0 |
A=0 |
07 |
5 |
9 |
PWM=A |
08 |
E |
0 |
Ret (Ende
UP Pause) |
09 |
D |
2 |
UP aufrufen (ohne Wartezeit) |
0A |
1 |
5 |
1. Ziffer BG: 5 |
0B |
D |
1 |
UP Pause aufrufen |
0C |
1 |
2 |
2. Ziffer BG: 2 |
0D |
D |
1 |
UP Pause aufrufen |
0E |
1 |
3 |
3. Ziffer BG: 3 |
0F |
D |
1 |
UP Pause aufrufen |
10 |
1 |
0 |
4. Ziffer BG: 0 |
11 |
D |
1 |
UP Pause aufrufen |
12 |
1 |
9 |
5. Ziffer BG: 9 |
13 |
D |
1 |
UP Pause aufrufen |
14 |
1 |
7 |
6. Ziffer BG: 7 |
15 |
D |
1 |
UP Pause aufrufen |
16 |
1 |
8 |
7. Ziffer BG: 8 |
17 |
D |
1 |
UP Pause aufrufen |
18 |
1 |
0 |
1. Ziffer LG: 0 |
19 |
D |
1 |
UP Pause aufrufen |
1A |
1 |
1 |
2. Ziffer LG: 1 |
1B |
D |
1 |
UP Pause aufrufen |
1C |
1 |
3 |
3. Ziffer LG: 3 |
1D |
D |
1 |
UP Pause aufrufen |
1E |
1 |
2 |
4. Ziffer LG: 2 |
1F |
D |
1 |
UP Pause aufrufen |
20 |
1 |
2 |
5. Ziffer LG: 2 |
21 |
D |
1 |
UP Pause aufrufen |
22 |
1 |
6 |
6. Ziffer LG: 6 |
23 |
D |
1 |
UP Pause aufrufen |
24 |
1 |
5 |
7. Ziffer LG: 5 |
25 |
D |
1 |
UP Pause aufrufen |
26 |
1 |
9 |
8. Ziffer LG: 9 |
27 |
D |
1 |
UP Pause aufrufen |
28 |
2 |
B |
Warte 5 Sekunden |
29 |
9 |
0 |
Springe zu Adr. 00 |
Adresse | Befehl | Daten | Kommentar |
00 | 1 | F | Würfel: alle LEDs an |
01 |
C |
D |
Skip if
S2=0 |
02 | 3 | 1 | Springe -1 |
03 |
1 |
4 |
Würfel: 1 |
04 |
C |
D |
Skip if
S2=0 |
05 |
9 |
1 |
Springe zu Adr. 01 |
06 |
1 | 8 | Würfel: 2 |
07 | C |
D |
Skip if
S2=0 |
08 | 9 | 1 | Springe zu Adr. 01 |
09 | 1 | C | Würfel: 3 |
0A | C |
D |
Skip if
S2=0 |
0B | 9 | 1 | Springe zu Adr. 01 |
0C | 1 | 9 | Würfel: 4 |
0D | C |
D |
Skip if
S2=0 |
0E | 9 | 1 | Springe zu Adr. 01 |
0F | 1 | D | Würfel: 5 |
10 | C |
D |
Skip if
S2=0 |
11 | 9 | 1 | Springe zu Adr. 01 |
12 | 1 | B | Würfel: 6 |
13 | C |
D |
Skip if
S2=0 |
14 | 9 | 1 | Springe zu Adr. 01 |
15 | 9 | 3 | Springe zu Adr. 03 |
Adresse | Befehl | Daten | Kommentar |
00 | 8 | 1 | Page 1 |
01 | 9 |
9 |
Springe zu Adr. 19 |
02 |
4 |
1 |
A=1 (UP:
Clockpuls) |
03 |
5 |
8 |
Dout.3=A.0 |
04 |
4 |
0 |
A=0 |
05 |
5 |
8 |
Dout.3=A.0 |
06 |
E |
0 |
Ret |
07 |
4 |
E |
A=14 (UP:
PWM rauf) |
08 |
5 |
2 |
C=A |
09 |
4 |
0 |
A=0 |
0A |
2 |
7 |
Warte 200ms |
0B |
7 |
1 |
A=A+1 |
0C |
5 |
9 |
PWM=A |
0D |
A |
A |
Schleife C* (Adr. 0A) |
0E |
E |
0 |
Ret |
0F |
4 |
E |
A=14 (UP:
PWM runter) |
10 |
5 |
2 |
C=A |
11 |
4 |
F |
A=15 |
12 |
8 |
1 |
Page 1 |
13 |
2 |
7 |
Warte
200ms |
14 |
7 |
2 |
A=A-1 |
15 |
5 |
9 |
PWM=A |
16 |
A | 3 | Schleife C* (Adr. 13) |
17 |
8 |
0 |
Page 0 |
18 |
E |
0 |
Ret |
19 |
C |
8 |
Skip if
Din.0=0 |
1A |
9 |
F |
Springe
zu Adr. 1F |
1B |
8 |
0 |
Page 0 |
1C |
D |
2 |
Call UP
Clockpuls |
1D |
8 |
1 |
Page 1 |
1E |
3 |
5 |
Springe
-5 |
1F |
4 |
8 |
A=8 |
20 |
5 |
1 |
B=A |
21 |
6 |
9 |
A=AD1 |
22 |
C |
2 |
Skip if
A<B |
23 |
3 |
2 |
Springe
-2 |
24 |
8 |
0 |
Page 0 |
25 |
1 |
5 |
Port 0101 |
26 |
D |
7 |
Call UP
PWM rauf |
27 |
D |
2 |
Call UP
Clockpuls |
28 |
D |
F |
Call UP
PWM runter |
29 |
1 |
6 |
Port 0110 |
2A |
D |
7 |
Call UP
PWM rauf |
2B |
D |
2 |
Call UP
Clockpuls |
2C |
D |
F |
Call UP
PWM runter |
2D |
1 |
3 |
Port 0011 |
2E |
D |
7 |
Call UP
PWM rauf |
2F |
D |
2 |
Call UP
Clockpuls |
30 |
D |
F |
Call UP
PWM runter |
31 |
8 |
1 |
Page 1 |
32 |
9 |
F |
Springe zu Adr. 1F |
Adresse | Befehl | Daten | Kommentar |
00 |
4 |
0 |
A=0 |
01 |
5 |
1 |
B=A |
02 |
1 |
8 |
LEDs 1000 |
03 |
8 |
3 |
Page 3 |
04 |
D |
5 |
Call UP
Eingabe |
05 |
5 |
2 |
C=A (Anzahl Stunden) |
06 |
1 |
4 |
LEDs 0100 |
07 |
D |
5 |
Call UP
Eingabe |
08 |
5 |
3 |
D=A (Anzahl 5
Minuten) |
09 |
1 |
2 |
LEDs 0010 |
0A |
8 |
2 |
Page 2 |
0B |
D |
9 |
Call UP
Warte_A*_5Minuten |
0C |
6 |
2 |
A=C |
0D |
8 |
1 |
Page 1 |
0E |
C |
1 |
Skip if
A>B |
0F |
9 |
7 |
Springe zu Adr. 17 |
10 |
7 |
2 |
A=A-1 |
11 |
5 |
2 |
C=A |
12 |
4 |
C |
A=12 |
13 |
8 |
2 |
Page 2 |
14 |
D |
9 |
Call UP
Warte_A*_5Minuten |
15 |
8 |
1 |
Page 1 |
16 |
A |
2 |
Schleife C* zu Adr. 12 |
17 | 1 | 1 | LEDs 0001 |
18 | 4 | E | A=14 |
19 | 5 | 2 | C=A |
1A | 4 | 1 | A=1 |
1B | 5 | 9 | PWM=A |
1C | 2 | F | Warte 1 Minute |
1D | 7 | 1 | A=A+1 |
1E | A | B | Schleife C* zu Adr. 1B |
1F |
4 |
1 |
A=1 |
20 |
8 |
2 |
Page 2 |
21 |
D |
9 |
Call UP
Warte_A*_5Minuten |
22 | 4 | 0 | A=0 |
23 | 5 | 9 | PWM=A |
24 |
2 |
8 |
Warte
500ms |
25 |
4 |
F |
A=F |
26 | 5 | 9 | PWM=A |
27 |
2 | 8 | Warte 500ms |
28 |
3 |
6 |
Springe -6 |
29 |
C |
1 |
Skip if
A> B (UP Warte_A*_5Minuten) |
2A |
E |
0 |
Ret |
2B |
7 |
2 |
A=A-1 |
2C |
5 |
3 |
D=A |
2D |
2 | F | Warte 1 Minute |
2E | 2 | F | Warte 1 Minute |
2F | 2 | F | Warte 1 Minute |
30 | 2 | F | Warte 1 Minute |
31 | 2 | F | Warte 1 Minute |
32 |
8 |
2 |
Page 2 |
33 |
B | D | Schleife D* zu Adr. 2D |
34 |
E |
0 |
Ret (Ende UP Warte_A*_5Minuten) |
35 |
C |
C |
Skip if
S1=0 (UP Eingabe) |
36 |
3 |
1 |
Springe
-1 |
37 |
1 |
0 |
LEDs 0000 |
38 |
4 |
0 |
A=0 |
39 |
2 |
3 |
Warte
10ms |
3A |
C |
E |
Skip if
S1=1 |
3B |
3 | 1 | Springe -1 |
3C |
2 | 3 | Warte 10ms |
3D |
C |
F |
Skip if
S2=1 |
3E |
E |
0 |
Ret |
3F |
C |
C |
Skip if
S1=0 |
40 |
3 |
3 |
Springe
-3 |
41 |
7 |
1 |
A=A+1 |
42 |
5 |
4 |
LEDs=A |
43 |
2 | 3 | Warte 10ms |
44 |
C |
E |
Skip if
S1=1 |
45 | 3 | 1 | Springe –1 |
46 | 2 | 3 | Warte 10ms |
47 | 3 | A |
Springe –10
(Ende UP Eingabe) |
Adresse | Befehl | Daten | Kommentar |
00 |
1 |
0 |
LEDs 0000 |
01 |
4 |
5 |
A=5 |
02 | 5 | 1 | B=A |
03 | 6 | 9 | A=AD1 |
04 |
C |
2 |
Skip if
A<B |
05 |
9 | 0 | Springe zu Adr. 00 |
06 | 4 | 9 | A=9 |
07 | 5 | 2 | C=A |
08 | 1 | 9 | LEDs 1001 |
09 | 2 | 8 | Warte 500ms |
0A | 1 | 6 | LEDs 0110 |
0B | 2 | 8 | Warte 500ms |
0C | A | 8 | Schleifensprung C* zu Adr. 08 |
0D |
1 | 0 | LEDs 0000 |
0E |
4 | 9 | A=9 |
0F |
5 |
2 |
C=A |
10 |
2 |
6 |
Warte
100ms |
11 |
4 |
A |
A=10 |
12 |
5 |
1 |
B=A |
13 |
6 |
9 |
A=AD1 |
14 |
C |
1 |
Skip if
A>B |
15 | 3 | 7 | Springe –7 |
16 | 8 | 1 | AdrHi=1 |
17 | A | 0 | Schleifensprung C* zu Adr. 10 |
18 |
1 |
F |
LEDs 1111 |
19 | 2 | 7 | Warte 200ms |
1A | 1 | 0 | LEDs 0000 |
1B |
8 |
0 |
AdrHi=0 |
1C |
9 | 0 | Springe zu Adr. 00 |