-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathFreeSans12ptWordclock.h
109 lines (106 loc) · 6.56 KB
/
FreeSans12ptWordclock.h
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// Adafruit GFX font FreeSans12ptWordClock size: 22x40
const uint8_t FreeSans12ptWordClockBitmaps[] PROGMEM = {
0x67,0x99,0x9E,0x60,0x78,0x03,0x70,0x0C,0xC0,0x73,0x01,0x8E,0x06,0x18,0x38,0x60,
0xC1,0xC3,0xFF,0x1F,0xFC,0x60,0x39,0x80,0x6E,0x01,0xB0,0x07,0xC0,0x0C, // symbol '='
0x60,0x06,0x60,0x06,0x0F,0xF0,0x1F,0xFC,0x38,0x1E,0x70,0x06,0x60,0x07,0xC0,0x03,
0xC0,0x03,0xC0,0x03,0xC0,0x03,0xE0,0x03,0x60,0x07,0x70,0x06,0x38,0x0E,0x1F,0x7C,
0x0F,0xF0, // symbol '>'
0xC0,0x1E,0x00,0xC0,0x00,0x00,0x0C,0x01,0xE0,0x0F,0x00,0x78,0x03,0xC0,0x1E,0x00,
0xF0,0x07,0x80,0x3C,0x01,0xE0,0x0D,0x80,0xEF,0xBE,0x3F,0xE0,0x10,0x00, // symbol '?'
0x0F,0xE0,0xC7,0xFE,0x33,0x83,0xCD,0xC0,0x31,0x60,0x0E,0x78,0x01,0x8C,0x00,0x63,
0x00,0x18,0xC0,0x06,0x30,0x01,0x8C,0x00,0x63,0x80,0x18,0x60,0x0E,0x1C,0x03,0x03,
0x81,0xC0,0x7D,0xE0,0x0F,0xE0,0x00, // symbol '@'
0x07,0x80,0x1E,0x00,0x78,0x03,0x70,0x0C,0xC0,0x73,0x01,0x8E,0x06,0x18,0x38,0x60,
0xC1,0xC3,0xFF,0x1F,0xFC,0x60,0x39,0x80,0x6E,0x01,0xB0,0x07,0xC0,0x0C, // eng 'A'
0xFF,0xC7,0xFF,0x30,0x1D,0x80,0x6C,0x03,0x60,0x1B,0x01,0x9F,0xF8,0xFF,0xE6,0x03,
0xB0,0x0D,0x80,0x7C,0x03,0xE0,0x1B,0x01,0xDF,0xFC,0xFF,0xC0, // eng 'B'
0x0F,0xF0,0x3F,0xF0,0xE0,0x73,0x80,0x66,0x00,0xDC,0x00,0x30,0x00,0x60,0x00,0xC0,
0x01,0x80,0x03,0x00,0x07,0x00,0x76,0x00,0xEE,0x01,0x8E,0x07,0x0F,0x7C,0x0F,0xF0,
0x02,0x00, // eng 'C'
0xFF,0xC3,0xFF,0x8C,0x07,0x30,0x0E,0xC0,0x1B,0x00,0x6C,0x01,0xF0,0x07,0xC0,0x1F,
0x00,0x7C,0x01,0xF0,0x06,0xC0,0x1B,0x00,0xEC,0x07,0x3F,0xF8,0xFF,0x80, // eng 'D'
0xFF,0xFF,0xFF,0xC0,0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x0F,0xFF,0xFF,0xFC,0x00,0xC0,
0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x0F,0xFF,0xFF,0xF0, // eng 'E'
0xFF,0xFF,0xFF,0xC0,0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x0F,0xFC,0xFF,0xCC,0x00,0xC0,
0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x00, // eng 'F'
0x0F,0xF0,0x1F,0xFC,0x38,0x0C,0x70,0x06,0x60,0x06,0xE0,0x00,0xC0,0x00,0xC0,0x00,
0xC0,0x7F,0xC0,0x7F,0xC0,0x03,0xE0,0x03,0x60,0x07,0x70,0x07,0x38,0x0F,0x1F,0x7B,
0x0F,0xF3,0x01,0x00, // eng 'G'
0xC0,0x1E,0x00,0xF0,0x07,0x80,0x3C,0x01,0xE0,0x0F,0x00,0x7F,0xFF,0xFF,0xFE,0x00,
0xF0,0x07,0x80,0x3C,0x01,0xE0,0x0F,0x00,0x78,0x03,0xC0,0x18, // eng 'H'
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xE0, // eng 'I'
0x00,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x0C,0x03,0x00,0xC0,0x30,0x0F,0x83,0xE0,
0xF8,0x36,0x1D,0xCE,0x3F,0x01,0x00, // eng 'J'
0xC0,0x3E,0x03,0xB0,0x39,0x83,0x8C,0x38,0x63,0x83,0x38,0x1B,0xC0,0xFF,0x07,0x98,
0x38,0xE1,0x83,0x8C,0x0C,0x60,0x73,0x01,0xD8,0x06,0xC0,0x18, // eng 'K'
0xC0,0x18,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x06,0x00,0xC0,0x18,0x03,0x00,0x60,
0x0C,0x01,0x80,0x30,0x07,0xFF,0xFF,0xE0, // eng 'L'
0xE0,0x07,0xE0,0x0F,0xF0,0x0F,0xF0,0x0F,0xF0,0x1B,0xD8,0x1B,0xD8,0x1B,0xD8,0x33,
0xCC,0x33,0xCC,0x33,0xCC,0x63,0xC6,0x63,0xC6,0x63,0xC2,0xC3,0xC3,0xC3,0xC3,0xC3,
0xC1,0x83, // eng 'M'
0xE0,0x1F,0x00,0xFC,0x07,0xE0,0x3D,0x81,0xEE,0x0F,0x30,0x78,0xC3,0xC7,0x1E,0x18,
0xF0,0x67,0x83,0xBC,0x0D,0xE0,0x7F,0x01,0xF8,0x07,0xC0,0x38, // eng 'N'
0x0F,0xF0,0x1F,0xFC,0x38,0x1E,0x70,0x06,0x60,0x07,0xE0,0x03,0xC0,0x03,0xC0,0x03,
0xC0,0x03,0xC0,0x03,0xC0,0x03,0xE0,0x03,0x60,0x07,0x70,0x06,0x38,0x0E,0x1F,0x7C,
0x0F,0xF0, // eng 'O'
0xFF,0xCF,0xFE,0xC0,0x7C,0x03,0xC0,0x3C,0x03,0xC0,0x3C,0x0F,0xFF,0xEF,0xF8,0xC0,
0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x00, // eng 'P'
0x0F,0xF0,0x1F,0xFC,0x38,0x1E,0x70,0x06,0x60,0x07,0xE0,0x03,0xC0,0x03,0xC0,0x03,
0xC0,0x03,0xC0,0x03,0xC0,0x03,0xC0,0x03,0x60,0x27,0x70,0x76,0x38,0x3E,0x1E,0x7C,
0x0F,0xF7,0x00,0x83, // eng 'Q'
0xFF,0xE3,0xFF,0xCC,0x03,0xB0,0x06,0xC0,0x1B,0x00,0x6C,0x01,0xB0,0x1C,0xFF,0xE3,
0xFF,0xCC,0x03,0xB0,0x06,0xC0,0x1B,0x00,0x6C,0x01,0xB0,0x06,0xC0,0x1C, // eng 'R'
0x1F,0xE0,0xF7,0xC7,0x03,0x18,0x06,0x60,0x19,0x80,0x07,0x80,0x0F,0xC0,0x0F,0xE0,
0x07,0xE0,0x03,0x80,0x07,0xC0,0x1F,0x80,0x66,0x01,0x9F,0x3C,0x1F,0xE0,0x08,0x00, // eng 'S'
0xFF,0xFF,0xFF,0xF0,0x30,0x00,0xC0,0x03,0x00,0x0C,0x00,0x30,0x00,0xC0,0x03,0x00,
0x0C,0x00,0x30,0x00,0xC0,0x03,0x00,0x0C,0x00,0x30,0x00,0xC0,0x03,0x00, // eng 'T'
0xC0,0x1E,0x00,0xF0,0x07,0x80,0x3C,0x01,0xE0,0x0F,0x00,0x78,0x03,0xC0,0x1E,0x00,
0xF0,0x07,0x80,0x3C,0x01,0xE0,0x0D,0x80,0xEF,0xBE,0x3F,0xE0,0x10,0x00, // eng 'U'
0xC0,0x0F,0x80,0x76,0x01,0x98,0x06,0x70,0x38,0xC0,0xC3,0x03,0x0E,0x1C,0x18,0x60,
0x61,0x80,0xCC,0x03,0x30,0x0C,0xC0,0x1E,0x00,0x78,0x01,0xE0,0x03,0x00, // eng 'V'
0xC0,0x70,0x3E,0x03,0x81,0xB8,0x3C,0x0D,0xC1,0xE0,0x66,0x0D,0x87,0x30,0xCC,0x31,
0x86,0x61,0x8E,0x33,0x0C,0x31,0x8C,0xE1,0x98,0x66,0x0C,0xC3,0x30,0x76,0x0D,0x81,
0xB0,0x6C,0x0F,0x03,0xC0,0x78,0x1E,0x01,0xC0,0x70,0x0C,0x03,0x80, // eng 'W'
0xE0,0x1D,0xC0,0xE3,0x03,0x0E,0x18,0x1C,0xE0,0x33,0x00,0xF8,0x01,0xE0,0x07,0x00,
0x1E,0x00,0xDC,0x07,0x30,0x18,0x60,0xC1,0xC7,0x03,0x98,0x06,0xE0,0x1C, // eng 'X'
0xC0,0x0F,0x80,0x77,0x03,0x8C,0x0C,0x38,0x70,0x61,0x80,0xCC,0x03,0xF0,0x07,0x80,
0x1E,0x00,0x30,0x00,0xC0,0x03,0x00,0x0C,0x00,0x30,0x00,0xC0,0x03,0x00, // eng 'Y'
0xFF,0xFF,0xFF,0xC0,0x1C,0x00,0xC0,0x0E,0x00,0xE0,0x0E,0x00,0x60,0x07,0x00,0x70,
0x07,0x00,0x70,0x03,0x00,0x38,0x03,0x80,0x1F,0xFF,0xFF,0xF8 // eng 'Z'
};
const GFXglyph FreeSans12ptWordClockGlyphs[] PROGMEM = {
{ 0, 14, 17, 22, 4, -16 }, // symbol '='
{ 30, 16, 17, 22, 3, -16 }, // symbol '>'
{ 64, 13, 18, 22, 4, -16 }, // symbol '?'
{ 94, 18, 17, 22, 3, -16 }, // symbol '@'
{ 133, 14, 17, 22, 4, -16 }, // eng 'A'
{ 163, 13, 17, 22, 4, -16 }, // eng 'B'
{ 191, 15, 18, 22, 3, -16 }, // eng 'C'
{ 225, 14, 17, 22, 4, -16 }, // eng 'D'
{ 255, 12, 17, 22, 5, -16 }, // eng 'E'
{ 281, 12, 17, 22, 5, -16 }, // eng 'F'
{ 307, 16, 18, 22, 3, -16 }, // eng 'G'
{ 343, 13, 17, 22, 4, -16 }, // eng 'H'
{ 371, 3, 17, 22, 9, -16 }, // eng 'I'
{ 378, 10, 18, 22, 6, -16 }, // eng 'J'
{ 401, 13, 17, 22, 4, -16 }, // eng 'K'
{ 429, 11, 17, 22, 5, -16 }, // eng 'L'
{ 453, 16, 17, 22, 3, -16 }, // eng 'M'
{ 487, 13, 17, 22, 4, -16 }, // eng 'N'
{ 515, 16, 17, 22, 3, -16 }, // eng 'O'
{ 549, 12, 17, 22, 5, -16 }, // eng 'P'
{ 575, 16, 18, 22, 3, -16 }, // eng 'Q'
{ 611, 14, 17, 22, 3, -16 }, // eng 'R'
{ 641, 14, 18, 22, 4, -16 }, // eng 'S'
{ 673, 14, 17, 22, 4, -16 }, // eng 'T'
{ 703, 13, 18, 22, 4, -16 }, // eng 'U'
{ 733, 14, 17, 22, 4, -16 }, // eng 'V'
{ 763, 21, 17, 22, 1, -16 }, // eng 'W'
{ 808, 14, 17, 22, 4, -16 }, // eng 'X'
{ 838, 14, 17, 22, 4, -16 }, // eng 'Y'
{ 868, 13, 17, 18, 4, -16 } // eng 'Z'
};
const GFXfont FreeSans12ptWordClock PROGMEM = {
(uint8_t *)FreeSans12ptWordClockBitmaps,
(GFXglyph *)FreeSans12ptWordClockGlyphs,
61, 90, 40};