summaryrefslogtreecommitdiffstats
path: root/Matrix_5x6/Charlie/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'Matrix_5x6/Charlie/font.h')
-rw-r--r--Matrix_5x6/Charlie/font.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/Matrix_5x6/Charlie/font.h b/Matrix_5x6/Charlie/font.h
new file mode 100644
index 0000000..b01794e
--- /dev/null
+++ b/Matrix_5x6/Charlie/font.h
@@ -0,0 +1,47 @@
+/* font from b00lean http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1234005825 */
+
+byte font_space[][5] = {
+ {0x00,0x00,0x00,0x00,0x00}
+};
+
+byte font_chars[][5] = {
+ {0x7c,0x44,0x44,0x7c,0x44}, // a
+ {0x7c,0x44,0x78,0x44,0x7c},
+ {0x7c,0x40,0x40,0x40,0x7c},
+ {0x78,0x44,0x44,0x44,0x78},
+ {0x7c,0x40,0x78,0x40,0x7c},
+ {0x7c,0x40,0x70,0x40,0x40},
+ {0x7c,0x40,0x4c,0x44,0x7c},
+ {0x44,0x44,0x7c,0x44,0x44},
+ {0x7c,0x10,0x10,0x10,0x7c},
+ {0x0c,0x04,0x04,0x44,0x7c},
+ {0x44,0x48,0x70,0x48,0x44},
+ {0x40,0x40,0x40,0x40,0x7c},
+ {0x44,0x6c,0x54,0x44,0x44},
+ {0x44,0x64,0x54,0x4c,0x44},
+ {0x38,0x44,0x44,0x44,0x38},
+ {0x78,0x44,0x78,0x40,0x40},
+ {0x7c,0x44,0x44,0x7c,0x10},
+ {0x78,0x44,0x78,0x44,0x44},
+ {0x7c,0x40,0x7c,0x04,0x7c},
+ {0x7c,0x10,0x10,0x10,0x10},
+ {0x44,0x44,0x44,0x44,0x7c},
+ {0x44,0x44,0x28,0x28,0x10},
+ {0x44,0x44,0x54,0x54,0x28},
+ {0x44,0x28,0x10,0x28,0x44},
+ {0x44,0x44,0x28,0x10,0x10},
+ {0x7c,0x08,0x10,0x20,0x7c} // z
+};
+
+byte font_numbers[][5] = {
+ {0x7c,0x4c,0x54,0x64,0x7c}, // 0
+ {0x10,0x30,0x10,0x10,0x38}, // 1
+ {0x78,0x04,0x38,0x40,0x7c},
+ {0x7c,0x04,0x38,0x04,0x7c},
+ {0x40,0x40,0x50,0x7c,0x10},
+ {0x7c,0x40,0x78,0x04,0x78},
+ {0x7c,0x40,0x7c,0x44,0x7c},
+ {0x7c,0x04,0x08,0x10,0x10},
+ {0x7c,0x44,0x7c,0x44,0x7c},
+ {0x7c,0x44,0x7c,0x04,0x7c} // 9
+};