summaryrefslogtreecommitdiffstats
path: root/Matrix_5x6/Charlie/Charlie.pde
diff options
context:
space:
mode:
authorNils Schneider <nils.schneider@gmail.com>2011-11-06 22:14:32 +0100
committerNils Schneider <nils.schneider@gmail.com>2011-11-06 22:14:32 +0100
commit7938dd36ad7fab6fcb16adeaab98957c1b256278 (patch)
treec526d437547deb8ed6d0eda3042e45bd938eec25 /Matrix_5x6/Charlie/Charlie.pde
parent2fc64cbc442588dfb0763833cf8785e3cf81d132 (diff)
downloadledmatrix-7938dd36ad7fab6fcb16adeaab98957c1b256278.tar
ledmatrix-7938dd36ad7fab6fcb16adeaab98957c1b256278.zip
animation 1
Diffstat (limited to 'Matrix_5x6/Charlie/Charlie.pde')
-rw-r--r--Matrix_5x6/Charlie/Charlie.pde9
1 files changed, 7 insertions, 2 deletions
diff --git a/Matrix_5x6/Charlie/Charlie.pde b/Matrix_5x6/Charlie/Charlie.pde
index 32b1e83..d1dc6e8 100644
--- a/Matrix_5x6/Charlie/Charlie.pde
+++ b/Matrix_5x6/Charlie/Charlie.pde
@@ -184,6 +184,8 @@ void lauftext(char *text) {
f = &(font_numbers[c-0x20][0]);
} else if (c == ' ')
f = &(font_space[0][0]);
+ else if (c == '#')
+ f = &(font_block[0][0]);
for (y=0; y<5; y++) {
scr[x][4-y] = (*(f+y)>>(i+1)&1) * 20;
@@ -198,13 +200,16 @@ void lauftext(char *text) {
}
}
-
}
void loop() {
// zufall_fading_up();
// zufall_fading_down();
- lauftext("META MEUTE");
+ zufall_fading_up();
+ lauftext("META MEUTE##");
+ zufall_fading_down();
schnecke(random(4));
+
+
}