summaryrefslogtreecommitdiffstats
path: root/Matrix_5x6
diff options
context:
space:
mode:
Diffstat (limited to 'Matrix_5x6')
-rw-r--r--Matrix_5x6/Charlie/Charlie.pde9
-rw-r--r--Matrix_5x6/Charlie/font.h4
2 files changed, 11 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));
+
+
}
diff --git a/Matrix_5x6/Charlie/font.h b/Matrix_5x6/Charlie/font.h
index b01794e..c836448 100644
--- a/Matrix_5x6/Charlie/font.h
+++ b/Matrix_5x6/Charlie/font.h
@@ -4,6 +4,10 @@ byte font_space[][5] = {
{0x00,0x00,0x00,0x00,0x00}
};
+byte font_block[][5] = {
+ {0xff,0xff,0xff,0xff,0xff}
+};
+
byte font_chars[][5] = {
{0x7c,0x44,0x44,0x7c,0x44}, // a
{0x7c,0x44,0x78,0x44,0x7c},