summaryrefslogtreecommitdiffstats
path: root/Matrix_5x6/Charlie
diff options
context:
space:
mode:
Diffstat (limited to 'Matrix_5x6/Charlie')
-rw-r--r--Matrix_5x6/Charlie/Charlie.pde16
1 files changed, 8 insertions, 8 deletions
diff --git a/Matrix_5x6/Charlie/Charlie.pde b/Matrix_5x6/Charlie/Charlie.pde
index 4ee40c3..4acbdde 100644
--- a/Matrix_5x6/Charlie/Charlie.pde
+++ b/Matrix_5x6/Charlie/Charlie.pde
@@ -185,13 +185,13 @@ void lauftext(char *text) {
i = 6;
while (i--) {
- if (c > 0x40 && c < 0x5B) {
+ if (c > 0x40 && c < 0x5B) { // Buchstaben
f = &(font_chars[c-0x41][0]);
- } else if (c >= 0x30 && c < 0x3A) {
+ } else if (c >= 0x30 && c < 0x3A) { // Zahlen
f = &(font_numbers[c-0x20][0]);
- } else if (c == ' ')
+ } else if (c == ' ') // Leerzeichen
f = &(font_space[0][0]);
- else if (c == '#')
+ else if (c == '#') // Füllzeichen
f = &(font_block[0][0]);
for (y=0; y<5; y++) {
@@ -213,10 +213,10 @@ void lauftext(char *text) {
void loop() {
// zufall_fading_up();
// zufall_fading_down();
- zufall_fading_up();
- lauftext("META MEUTE##");
- zufall_fading_down();
- schnecke(random(4));
+zufall_fading_up();
+lauftext(" META MEUTE#");
+zufall_fading_down();
+schnecke(random(4));
}