545 lines
18 KiB
C
545 lines
18 KiB
C
#include "font.h"
|
|
|
|
unsigned const int PROGMEM fontIndex_arial8[] = {
|
|
0, /* */
|
|
2, /* ! */
|
|
4, /* " */
|
|
10, /* # */
|
|
20, /* $ */
|
|
30, /* % */
|
|
48, /* & */
|
|
60, /* ' */
|
|
62, /* ( */
|
|
68, /* ) */
|
|
74, /* * */
|
|
80, /* + */
|
|
90, /* , */
|
|
94, /* - */
|
|
100, /* . */
|
|
104, /* / */
|
|
110, /* 0 */
|
|
120, /* 1 */
|
|
126, /* 2 */
|
|
136, /* 3 */
|
|
146, /* 4 */
|
|
156, /* 5 */
|
|
166, /* 6 */
|
|
176, /* 7 */
|
|
186, /* 8 */
|
|
196, /* 9 */
|
|
206, /* : */
|
|
208, /* ; */
|
|
210, /* < */
|
|
220, /* = */
|
|
230, /* > */
|
|
240, /* ? */
|
|
250, /* @ */
|
|
270, /* A */
|
|
284, /* B */
|
|
296, /* C */
|
|
308, /* D */
|
|
320, /* E */
|
|
330, /* F */
|
|
340, /* G */
|
|
354, /* H */
|
|
366, /* I */
|
|
368, /* J */
|
|
376, /* K */
|
|
388, /* L */
|
|
398, /* M */
|
|
412, /* N */
|
|
424, /* O */
|
|
438, /* P */
|
|
448, /* Q */
|
|
462, /* R */
|
|
474, /* S */
|
|
486, /* T */
|
|
496, /* U */
|
|
508, /* V */
|
|
522, /* W */
|
|
542, /* X */
|
|
554, /* Y */
|
|
568, /* Z */
|
|
580, /* [ */
|
|
584, /* \ */
|
|
590, /* ] */
|
|
594, /* ^ */
|
|
604, /* _ */
|
|
616, /* ` */
|
|
620, /* a */
|
|
630, /* b */
|
|
640, /* c */
|
|
650, /* d */
|
|
660, /* e */
|
|
670, /* f */
|
|
676, /* g */
|
|
686, /* h */
|
|
696, /* i */
|
|
698, /* j */
|
|
700, /* k */
|
|
708, /* l */
|
|
710, /* m */
|
|
724, /* n */
|
|
734, /* o */
|
|
744, /* p */
|
|
754, /* q */
|
|
764, /* r */
|
|
770, /* s */
|
|
780, /* t */
|
|
784, /* u */
|
|
794, /* v */
|
|
804, /* w */
|
|
822, /* x */
|
|
832, /* y */
|
|
842, /* z */
|
|
852, /* { */
|
|
858, /* | */
|
|
860, /* } */
|
|
868, /* ~ */
|
|
878
|
|
};
|
|
|
|
unsigned const char PROGMEM fontData_arial8[] = {
|
|
0x00, 0x00, /* */
|
|
0xfc, 0x02, /* # ###### */
|
|
0x1c, 0x00, /* ### */
|
|
0x00, 0x00, /* */
|
|
0x1c, 0x00, /* ### */
|
|
0x90, 0x03, /* ### # */
|
|
0xf0, 0x00, /* #### */
|
|
0x9c, 0x03, /* ### ### */
|
|
0xf0, 0x00, /* #### */
|
|
0x9c, 0x00, /* # ### */
|
|
0x18, 0x01, /* # ## */
|
|
0x24, 0x02, /* # # # */
|
|
0xfc, 0x07, /* ######### */
|
|
0x24, 0x02, /* # # # */
|
|
0xc8, 0x01, /* ### # */
|
|
0x18, 0x00, /* ## */
|
|
0x24, 0x00, /* # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x98, 0x01, /* ## ## */
|
|
0x60, 0x00, /* ## */
|
|
0x98, 0x01, /* ## ## */
|
|
0x44, 0x02, /* # # # */
|
|
0x40, 0x02, /* # # */
|
|
0x80, 0x01, /* ## */
|
|
0x80, 0x01, /* ## */
|
|
0x58, 0x02, /* # # ## */
|
|
0x24, 0x02, /* # # # */
|
|
0x64, 0x02, /* # ## # */
|
|
0x98, 0x01, /* ## ## */
|
|
0x80, 0x02, /* # # */
|
|
0x1c, 0x00, /* ### */
|
|
0xf0, 0x03, /* ###### */
|
|
0x08, 0x04, /* # # */
|
|
0x04, 0x08, /* # # */
|
|
0x04, 0x08, /* # # */
|
|
0x08, 0x04, /* # # */
|
|
0xf0, 0x03, /* ###### */
|
|
0x28, 0x00, /* # # */
|
|
0x1c, 0x00, /* ### */
|
|
0x28, 0x00, /* # # */
|
|
0x40, 0x00, /* # */
|
|
0x40, 0x00, /* # */
|
|
0xf0, 0x01, /* ##### */
|
|
0x40, 0x00, /* # */
|
|
0x40, 0x00, /* # */
|
|
0x00, 0x00, /* */
|
|
0x00, 0x0e, /* ### */
|
|
0x80, 0x00, /* # */
|
|
0x80, 0x00, /* # */
|
|
0x80, 0x00, /* # */
|
|
0x00, 0x00, /* */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x03, /* ## */
|
|
0xf0, 0x00, /* #### */
|
|
0x0c, 0x00, /* ## */
|
|
0xf8, 0x01, /* ###### */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0xf8, 0x01, /* ###### */
|
|
0x10, 0x00, /* # */
|
|
0x08, 0x00, /* # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x08, 0x02, /* # # */
|
|
0x04, 0x03, /* ## # */
|
|
0x84, 0x02, /* # # # */
|
|
0x44, 0x02, /* # # # */
|
|
0x38, 0x02, /* # ### */
|
|
0x08, 0x01, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0xd8, 0x01, /* ### ## */
|
|
0xc0, 0x00, /* ## */
|
|
0xb0, 0x00, /* # ## */
|
|
0x88, 0x00, /* # # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x80, 0x00, /* # */
|
|
0x30, 0x01, /* # ## */
|
|
0x2c, 0x02, /* # # ## */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0xc4, 0x01, /* ### # */
|
|
0xf8, 0x01, /* ###### */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0xc8, 0x01, /* ### # */
|
|
0x04, 0x00, /* # */
|
|
0x84, 0x03, /* ### # */
|
|
0x64, 0x00, /* ## # */
|
|
0x1c, 0x00, /* ### */
|
|
0x04, 0x00, /* # */
|
|
0xd8, 0x01, /* ### ## */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0xd8, 0x01, /* ### ## */
|
|
0x38, 0x01, /* # ### */
|
|
0x44, 0x02, /* # # # */
|
|
0x44, 0x02, /* # # # */
|
|
0x44, 0x02, /* # # # */
|
|
0xf8, 0x01, /* ###### */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x0e, /* ### # */
|
|
0x40, 0x00, /* # */
|
|
0xa0, 0x00, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0x10, 0x01, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0x10, 0x01, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0xa0, 0x00, /* # # */
|
|
0x40, 0x00, /* # */
|
|
0x08, 0x00, /* # */
|
|
0x04, 0x00, /* # */
|
|
0xc4, 0x02, /* # ## # */
|
|
0x24, 0x00, /* # # */
|
|
0x18, 0x00, /* ## */
|
|
0xe0, 0x03, /* ##### */
|
|
0x18, 0x04, /* # ## */
|
|
0xc8, 0x09, /* # ### # */
|
|
0x24, 0x0a, /* # # # # */
|
|
0x14, 0x0a, /* # # # # */
|
|
0x14, 0x09, /* # # # # */
|
|
0xe4, 0x0b, /* # ##### # */
|
|
0x34, 0x0a, /* # # ## # */
|
|
0x08, 0x05, /* # # # */
|
|
0xf0, 0x04, /* # #### */
|
|
0x00, 0x03, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0xb8, 0x00, /* # ### */
|
|
0x84, 0x00, /* # # */
|
|
0xb8, 0x00, /* # ### */
|
|
0xc0, 0x00, /* ## */
|
|
0x00, 0x03, /* ## */
|
|
0xfc, 0x03, /* ######## */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0xf8, 0x01, /* ###### */
|
|
0xf0, 0x00, /* #### */
|
|
0x08, 0x01, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x08, 0x01, /* # # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x08, 0x01, /* # # */
|
|
0xf0, 0x00, /* #### */
|
|
0xfc, 0x03, /* ######## */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x24, 0x00, /* # # */
|
|
0x24, 0x00, /* # # */
|
|
0x24, 0x00, /* # # */
|
|
0x04, 0x00, /* # */
|
|
0xf0, 0x00, /* #### */
|
|
0x08, 0x01, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x44, 0x02, /* # # # */
|
|
0x48, 0x01, /* # # # */
|
|
0xc0, 0x00, /* ## */
|
|
0xfc, 0x03, /* ######## */
|
|
0x20, 0x00, /* # */
|
|
0x20, 0x00, /* # */
|
|
0x20, 0x00, /* # */
|
|
0x20, 0x00, /* # */
|
|
0xfc, 0x03, /* ######## */
|
|
0xfc, 0x03, /* ######## */
|
|
0x80, 0x01, /* ## */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x02, /* # */
|
|
0xfc, 0x01, /* ####### */
|
|
0xfc, 0x03, /* ######## */
|
|
0x40, 0x00, /* # */
|
|
0x20, 0x00, /* # */
|
|
0x70, 0x00, /* ### */
|
|
0x88, 0x01, /* ## # */
|
|
0x04, 0x02, /* # # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x02, /* # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x18, 0x00, /* ## */
|
|
0xe0, 0x00, /* ### */
|
|
0x00, 0x03, /* ## */
|
|
0xe0, 0x00, /* ### */
|
|
0x18, 0x00, /* ## */
|
|
0xfc, 0x03, /* ######## */
|
|
0xfc, 0x03, /* ######## */
|
|
0x08, 0x00, /* # */
|
|
0x30, 0x00, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0x00, 0x01, /* # */
|
|
0xfc, 0x03, /* ######## */
|
|
0xf0, 0x00, /* #### */
|
|
0x08, 0x01, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x08, 0x01, /* # # */
|
|
0xf0, 0x00, /* #### */
|
|
0xfc, 0x03, /* ######## */
|
|
0x44, 0x00, /* # # */
|
|
0x44, 0x00, /* # # */
|
|
0x44, 0x00, /* # # */
|
|
0x38, 0x00, /* ### */
|
|
0xf0, 0x00, /* #### */
|
|
0x08, 0x01, /* # # */
|
|
0x04, 0x02, /* # # */
|
|
0x84, 0x02, /* # # # */
|
|
0x84, 0x02, /* # # # */
|
|
0x08, 0x01, /* # # */
|
|
0xf0, 0x02, /* # #### */
|
|
0xfc, 0x03, /* ######## */
|
|
0x24, 0x00, /* # # */
|
|
0x24, 0x00, /* # # */
|
|
0x64, 0x00, /* ## # */
|
|
0xa4, 0x01, /* ## # # */
|
|
0x18, 0x02, /* # ## */
|
|
0x18, 0x01, /* # ## */
|
|
0x24, 0x02, /* # # # */
|
|
0x24, 0x02, /* # # # */
|
|
0x44, 0x02, /* # # # */
|
|
0x44, 0x02, /* # # # */
|
|
0x88, 0x01, /* ## # */
|
|
0x04, 0x00, /* # */
|
|
0x04, 0x00, /* # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x04, 0x00, /* # */
|
|
0x04, 0x00, /* # */
|
|
0xfc, 0x01, /* ####### */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x02, /* # */
|
|
0xfc, 0x01, /* ####### */
|
|
0x0c, 0x00, /* ## */
|
|
0x30, 0x00, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0x00, 0x03, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0x30, 0x00, /* ## */
|
|
0x0c, 0x00, /* ## */
|
|
0xf0, 0x00, /* #### */
|
|
0x00, 0x03, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0x38, 0x00, /* ### */
|
|
0x04, 0x00, /* # */
|
|
0x38, 0x00, /* ### */
|
|
0xc0, 0x00, /* ## */
|
|
0x00, 0x03, /* ## */
|
|
0xf0, 0x00, /* #### */
|
|
0x0c, 0x00, /* ## */
|
|
0x04, 0x02, /* # # */
|
|
0x98, 0x01, /* ## ## */
|
|
0x60, 0x00, /* ## */
|
|
0x60, 0x00, /* ## */
|
|
0x98, 0x01, /* ## ## */
|
|
0x04, 0x02, /* # # */
|
|
0x04, 0x00, /* # */
|
|
0x18, 0x00, /* ## */
|
|
0x20, 0x00, /* # */
|
|
0xc0, 0x03, /* #### */
|
|
0x20, 0x00, /* # */
|
|
0x18, 0x00, /* ## */
|
|
0x04, 0x00, /* # */
|
|
0x00, 0x02, /* # */
|
|
0x04, 0x03, /* ## # */
|
|
0xc4, 0x02, /* # ## # */
|
|
0x34, 0x02, /* # ## # */
|
|
0x0c, 0x02, /* # ## */
|
|
0x04, 0x02, /* # # */
|
|
0xfc, 0x0f, /* ########## */
|
|
0x04, 0x08, /* # # */
|
|
0x0c, 0x00, /* ## */
|
|
0xf0, 0x00, /* #### */
|
|
0x00, 0x03, /* ## */
|
|
0x04, 0x08, /* # # */
|
|
0xfc, 0x0f, /* ########## */
|
|
0x20, 0x00, /* # */
|
|
0x18, 0x00, /* ## */
|
|
0x04, 0x00, /* # */
|
|
0x18, 0x00, /* ## */
|
|
0x20, 0x00, /* # */
|
|
0x00, 0x08, /* # */
|
|
0x00, 0x08, /* # */
|
|
0x00, 0x08, /* # */
|
|
0x00, 0x08, /* # */
|
|
0x00, 0x08, /* # */
|
|
0x00, 0x08, /* # */
|
|
0x04, 0x00, /* # */
|
|
0x08, 0x00, /* # */
|
|
0xa0, 0x01, /* ## # */
|
|
0x50, 0x02, /* # # # */
|
|
0x50, 0x02, /* # # # */
|
|
0x50, 0x01, /* # # # */
|
|
0xe0, 0x03, /* ##### */
|
|
0xfc, 0x03, /* ######## */
|
|
0x20, 0x01, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0xe0, 0x01, /* #### */
|
|
0xe0, 0x01, /* #### */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0x20, 0x01, /* # # */
|
|
0xe0, 0x01, /* #### */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0x20, 0x01, /* # # */
|
|
0xfc, 0x03, /* ######## */
|
|
0xe0, 0x01, /* #### */
|
|
0x50, 0x02, /* # # # */
|
|
0x50, 0x02, /* # # # */
|
|
0x50, 0x02, /* # # # */
|
|
0x60, 0x01, /* # ## */
|
|
0x10, 0x00, /* # */
|
|
0xf8, 0x03, /* ####### */
|
|
0x14, 0x00, /* # # */
|
|
0xe0, 0x09, /* # #### */
|
|
0x10, 0x0a, /* # # # */
|
|
0x10, 0x0a, /* # # # */
|
|
0x20, 0x09, /* # # # */
|
|
0xf0, 0x07, /* ####### */
|
|
0xfc, 0x03, /* ######## */
|
|
0x20, 0x00, /* # */
|
|
0x10, 0x00, /* # */
|
|
0x10, 0x00, /* # */
|
|
0xe0, 0x03, /* ##### */
|
|
0xf4, 0x03, /* ###### # */
|
|
0xf4, 0x07, /* ####### # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x40, 0x00, /* # */
|
|
0xa0, 0x01, /* ## # */
|
|
0x10, 0x02, /* # # */
|
|
0xfc, 0x03, /* ######## */
|
|
0xf0, 0x03, /* ###### */
|
|
0x20, 0x00, /* # */
|
|
0x10, 0x00, /* # */
|
|
0xf0, 0x03, /* ###### */
|
|
0x20, 0x00, /* # */
|
|
0x10, 0x00, /* # */
|
|
0xe0, 0x03, /* ##### */
|
|
0xf0, 0x03, /* ###### */
|
|
0x10, 0x00, /* # */
|
|
0x10, 0x00, /* # */
|
|
0x10, 0x00, /* # */
|
|
0xe0, 0x03, /* ##### */
|
|
0xe0, 0x01, /* #### */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0xe0, 0x01, /* #### */
|
|
0xf0, 0x0f, /* ######## */
|
|
0x20, 0x01, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0xe0, 0x01, /* #### */
|
|
0xe0, 0x01, /* #### */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0x20, 0x01, /* # # */
|
|
0xf0, 0x0f, /* ######## */
|
|
0xf0, 0x03, /* ###### */
|
|
0x20, 0x00, /* # */
|
|
0x10, 0x00, /* # */
|
|
0x20, 0x01, /* # # */
|
|
0x50, 0x02, /* # # # */
|
|
0x50, 0x02, /* # # # */
|
|
0x90, 0x02, /* # # # */
|
|
0x20, 0x01, /* # # */
|
|
0xfc, 0x03, /* ######## */
|
|
0x10, 0x02, /* # # */
|
|
0xf0, 0x01, /* ##### */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x02, /* # */
|
|
0x00, 0x01, /* # */
|
|
0xf0, 0x03, /* ###### */
|
|
0x30, 0x00, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0x00, 0x03, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0x30, 0x00, /* ## */
|
|
0x30, 0x00, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0x00, 0x03, /* ## */
|
|
0xe0, 0x00, /* ### */
|
|
0x10, 0x00, /* # */
|
|
0xe0, 0x00, /* ### */
|
|
0x00, 0x03, /* ## */
|
|
0xc0, 0x00, /* ## */
|
|
0x30, 0x00, /* ## */
|
|
0x10, 0x02, /* # # */
|
|
0x20, 0x01, /* # # */
|
|
0xc0, 0x00, /* ## */
|
|
0x20, 0x01, /* # # */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x00, /* # */
|
|
0xe0, 0x09, /* # #### */
|
|
0x00, 0x07, /* ### */
|
|
0xc0, 0x00, /* ## */
|
|
0x30, 0x00, /* ## */
|
|
0x10, 0x02, /* # # */
|
|
0x10, 0x03, /* ## # */
|
|
0x90, 0x02, /* # # # */
|
|
0x70, 0x02, /* # ### */
|
|
0x10, 0x02, /* # # */
|
|
0x40, 0x00, /* # */
|
|
0xb8, 0x07, /* #### ### */
|
|
0x04, 0x08, /* # # */
|
|
0xfc, 0x0f, /* ########## */
|
|
0x00, 0x00, /* */
|
|
0x04, 0x08, /* # # */
|
|
0xb8, 0x07, /* #### ### */
|
|
0x40, 0x00, /* # */
|
|
0x60, 0x00, /* ## */
|
|
0x20, 0x00, /* # */
|
|
0x60, 0x00, /* ## */
|
|
0x40, 0x00, /* # */
|
|
0x20, 0x00, /* # */
|
|
};
|
|
|
|
font font_arial8 = {13, fontIndex_arial8, fontData_arial8, ' ', '~', '.', 2};
|