1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/* 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_block[][5] = {
{0xff,0xff,0xff,0xff,0xff}
};
byte font_chars[][5] = {
{0x38,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
};
|