forked from VolosR/bitCoinTTGO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
orb.h
199 lines (198 loc) · 12.2 KB
/
orb.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
// Created by http://oleddisplay.squix.ch/ Consider a donation
// In case of problems make sure that you are using the font file with the correct version!
const uint8_t Orbitron_Medium_16Bitmaps[] PROGMEM = {
// Bitmap Data:
0x00, // ' '
0xDB,0x6D,0xB6,0xC3,0x60, // '!'
0xF7,0xBC, // '"'
0x0C,0x61,0x8C,0xFF,0xEF,0xFE,0x31,0x83,0x18,0x21,0x0F,0xFE,0x63,0x04,0x30,0xC6,0x00, // '#'
0x0C,0x07,0xF8,0xFF,0xE8,0xC6,0x8C,0x08,0xC0,0xFF,0xCF,0xFE,0x0C,0x60,0xC6,0x8C,0x6F,0xFE,0xFF,0xC0,0xC0,0x0C,0x00, // '$'
0x20,0x09,0xF0,0x32,0x20,0xE4,0x43,0x08,0x8C,0x0F,0x70,0x01,0xC0,0x07,0x7C,0x1C,0x8C,0x61,0x19,0x83,0x32,0x03,0xC0, // '%'
0x3F,0x81,0xFF,0x8C,0x06,0x30,0x00,0xC0,0x01,0xC0,0x0D,0xC2,0x33,0xC8,0xC3,0xE3,0x03,0xCF,0xFF,0x9F,0xFA, // '&'
0xDB,0x00, // '''
0x2E,0xCC,0xCC,0xCC,0xCC,0xE6, // '('
0x8C,0x66,0x66,0x66,0x66,0xEC, // ')'
0x18,0x18,0x5E,0xFE,0x38,0x3C,0x66, // '*'
0x10,0x10,0xFE,0xFE,0x10,0x10, // '+'
0xDB,0x40, // ','
0xFD,0xF8, // '-'
0xD8, // '.'
0x01,0x00,0x80,0xC0,0xC0,0x60,0x60,0x60,0x60,0x60,0x60,0x30,0x10,0x00, // '/'
0x3F,0xCF,0xFE,0xC0,0x6C,0x0E,0xC3,0xAC,0x72,0xCE,0x2D,0xC2,0xF0,0x2E,0x02,0xFF,0xE7,0xFE, // '0'
0x18,0xE3,0x9A,0x88,0x20,0x82,0x08,0x20,0x82, // '1'
0x3F,0xCF,0xFE,0xC0,0x20,0x02,0x00,0x20,0x02,0xFF,0xEC,0x00,0xC0,0x0C,0x00,0xFF,0xEF,0xFE, // '2'
0x3F,0x8F,0xFE,0xC0,0x60,0x06,0x00,0x63,0xFE,0x3F,0xE0,0x02,0x00,0x2C,0x02,0xFF,0xE7,0xFE, // '3'
0x00,0x80,0x18,0x07,0x80,0xE8,0x1C,0x83,0x88,0x70,0x8F,0xFE,0xFF,0xE0,0x08,0x00,0x80,0x08, // '4'
0xFF,0xEF,0xFE,0xC0,0x0C,0x00,0xC0,0x0F,0xFC,0xFF,0xE0,0x02,0x00,0x2C,0x02,0xFF,0xE7,0xFE, // '5'
0x3F,0xCF,0xFC,0xC0,0x0C,0x00,0xC0,0x0F,0xFC,0xFF,0xEC,0x02,0xC0,0x2C,0x02,0xFF,0xE7,0xFE, // '6'
0xFF,0x1F,0xF0,0x03,0x00,0x60,0x0C,0x01,0x80,0x30,0x06,0x00,0xC0,0x18,0x03,0x00,0x60, // '7'
0x3F,0xCF,0xFE,0xC0,0x2C,0x02,0xC0,0x2F,0xFE,0xFF,0xEC,0x02,0xC0,0x2C,0x02,0xFF,0xE7,0xFE, // '8'
0x3F,0x8F,0xFE,0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xFF,0xE0,0x02,0x00,0x20,0x02,0xFF,0xE7,0xFE, // '9'
0xC0,0x00,0x06,0xC0, // ':'
0xC0,0x00,0x06,0xD2,0x00, // ';'
0x06,0x1E,0x38,0xE0,0xC0,0x70,0x3C,0x0E,0x02, // '<'
0xFF,0x7F,0x80,0x1F,0xEF,0xF0, // '='
0x80,0xE0,0x78,0x1E,0x0E,0x3C,0x70,0xC0,0x80, // '>'
0xFF,0x1F,0xF0,0x03,0x00,0x60,0x0C,0x01,0x8F,0xE3,0xF8,0x60,0x00,0x01,0x80,0x30,0x00, // '?'
0x3F,0xCF,0xFE,0xC0,0x2C,0x02,0xDF,0x2D,0x12,0xD1,0x2D,0x12,0xCF,0xEC,0x00,0xFF,0xE7,0xFE, // '@'
0x3F,0xCF,0xFE,0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xFF,0xEF,0xFE,0xC0,0x2C,0x02,0xC0,0x2C,0x02, // 'A'
0xFF,0x8F,0xFE,0xC0,0x6C,0x06,0xC0,0x6F,0xFE,0xFF,0xEC,0x02,0xC0,0x2C,0x02,0xFF,0xEF,0xFE, // 'B'
0x3F,0xEF,0xFE,0xC0,0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x0C,0x00,0xC0,0x0C,0x00,0xFF,0xE7,0xFE, // 'C'
0xFF,0xCF,0xFE,0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xFF,0xEF,0xFE, // 'D'
0xFF,0xDF,0xFB,0x00,0x60,0x0C,0x01,0xFF,0x3F,0xE6,0x00,0xC0,0x18,0x03,0xFF,0x7F,0xE0, // 'E'
0xFF,0xDF,0xFB,0x00,0x60,0x0C,0x01,0xFF,0x3F,0xE6,0x00,0xC0,0x18,0x03,0x00,0x60,0x00, // 'F'
0x3F,0xCF,0xFE,0xC0,0x2C,0x00,0xC0,0x0C,0x00,0xC1,0xEC,0x02,0xC0,0x2C,0x02,0xFF,0xE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0F,0xFC,0xFF,0xE0,0x02,0x00,0x2C,0x02,0xFF,0xE7,0xFE, // 'S'
0xFF,0xF7,0xFF,0x81,0x80,0x0C,0x00,0x60,0x03,0x00,0x18,0x00,0xC0,0x06,0x00,0x30,0x01,0x80,0x0C,0x00, // 'T'
0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xC0,0x2C,0x02,0xFF,0xE7,0xFE, // 'U'
0xC0,0x06,0xC0,0x0C,0x60,0x18,0x60,0x18,0x30,0x30,0x30,0x30,0x18,0x60,0x0C,0x60,0x0C,0xC0,0x07,0x80,0x07,0x80,0x03,0x00, // 'V'
0x80,0x81,0xB0,0x70,0x6C,0x1C,0x19,0x8D,0x0C,0x63,0x63,0x18,0xD8,0x83,0x63,0x60,0xD8,0xD8,0x34,0x34,0x07,0x07,0x01,0xC1,0xC0,0x20,0x20, // 'W'
0xC0,0x6E,0x0E,0x60,0xC3,0x18,0x1B,0x00,0xE0,0x0E,0x01,0xF0,0x3B,0x83,0x18,0x60,0xCC,0x06, // 'X'
0xC0,0x19,0x80,0xC3,0x06,0x0E,0x30,0x19,0xC0,0x36,0x00,0x70,0x01,0x80,0x02,0x00,0x08,0x00,0x20,0x00,0x80, // 'Y'
0xFF,0xEF,0xFE,0x00,0x60,0x1C,0x03,0x80,0x70,0x0E,0x01,0x80,0x30,0x0E,0x00,0xFF,0xEF,0xFE, // 'Z'
0xEE,0xCC,0xCC,0xCC,0xCC,0xEE, // '['
0x80,0x40,0x30,0x0C,0x03,0x00,0xC0,0x60,0x18,0x06,0x01,0x80,0x40,0x20, // '\'
0xEE,0x66,0x66,0x66,0x66,0xEE, // ']'
0x00, // '^'
0xFF,0xEF,0xFE, // '_'
0x9B,0x00, // '`'
0xFF,0x80,0x60,0x08,0x02,0xFF,0xB0,0x2C,0x0B,0xFE,0x7F,0x80, // 'a'
0xC0,0x30,0x0C,0x03,0xFE,0xC1,0xB0,0x2C,0x0B,0x02,0xC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,0x03,0x00,0x60,0x0C, // 'q'
0xFE,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0, // 'r'
0xFF,0xB0,0x6C,0x03,0xF8,0xFF,0x80,0x60,0x1B,0xFE,0xFF,0x00, // 's'
0xC3,0x0C,0x3E,0xC3,0x0C,0x30,0xC3,0x0F,0x9E, // 't'
0xC0,0xB0,0x2C,0x0B,0x02,0xC0,0xB0,0x2C,0x0B,0xFE,0x7F,0x80, // 'u'
0xE0,0x33,0x03,0x0C,0x18,0x61,0x81,0x8C,0x04,0xC0,0x36,0x00,0xE0,0x06,0x00, // 'v'
0xC3,0x87,0x61,0xC3,0x19,0xB1,0x8C,0xD9,0x86,0x66,0xC1,0xE3,0x40,0xF0,0xE0,0x30,0x70,0x18,0x30,0x00, // 'w'
0xC1,0x98,0xC3,0x60,0x70,0x1C,0x0F,0x83,0x61,0x8C,0xC1,0x80, // 'x'
0x81,0xA0,0x68,0x1A,0x06,0x81,0xA0,0x68,0x1B,0xFE,0xFF,0x80,0x60,0x19,0xFE,0x7F,0x00, // 'y'
0xFF,0x80,0x60,0x30,0x38,0x1C,0x0C,0x0E,0x03,0xFE,0xFF,0x80, // 'z'
0x13,0x98,0xC6,0x63,0x0C,0x63,0x1C,0x60, // '{'
0xDB,0x6D,0xB6,0xDB,0x6D,0xB0, // '|'
0x8C,0x66,0x66,0x26,0x66,0xCC // '}'
};
const GFXglyph Orbitron_Medium_16Glyphs[] PROGMEM = {
// bitmapOffset, width, height, xAdvance, xOffset, yOffset
{ 0, 1, 1, 6, 0, 0 }, // ' '
{ 1, 3, 12, 5, 1, -12 }, // '!'
{ 6, 5, 3, 7, 1, -12 }, // '"'
{ 8, 12, 11, 14, 1, -11 }, // '#'
{ 25, 12, 15, 14, 1, -13 }, // '$'
{ 48, 15, 12, 16, 1, -12 }, // '%'
{ 71, 14, 12, 16, 1, -12 }, // '&'
{ 92, 3, 3, 5, 1, -12 }, // '''
{ 94, 4, 12, 5, 1, -12 }, // '('
{ 100, 4, 12, 5, 1, -12 }, // ')'
{ 106, 8, 7, 9, 0, -12 }, // '*'
{ 113, 8, 6, 8, 0, -8 }, // '+'
{ 119, 3, 4, 4, 1, -2 }, // ','
{ 121, 7, 2, 9, 1, -6 }, // '-'
{ 123, 3, 2, 4, 1, -2 }, // '.'
{ 124, 9, 12, 9, 0, -12 }, // '/'
{ 138, 12, 12, 14, 1, -12 }, // '0'
{ 156, 6, 12, 7, 0, -12 }, // '1'
{ 165, 12, 12, 14, 1, -12 }, // '2'
{ 183, 12, 12, 14, 1, -12 }, // '3'
{ 201, 12, 12, 13, 0, -12 }, // '4'
{ 219, 12, 12, 14, 1, -12 }, // '5'
{ 237, 12, 12, 14, 1, -12 }, // '6'
{ 255, 11, 12, 12, 0, -12 }, // '7'
{ 272, 12, 12, 14, 1, -12 }, // '8'
{ 290, 12, 12, 14, 1, -12 }, // '9'
{ 308, 3, 9, 4, 1, -9 }, // ':'
{ 312, 3, 11, 4, 1, -9 }, // ';'
{ 317, 8, 9, 9, 0, -9 }, // '<'
{ 326, 9, 5, 11, 1, -7 }, // '='
{ 332, 8, 9, 9, 1, -9 }, // '>'
{ 341, 11, 12, 12, 1, -12 }, // '?'
{ 358, 12, 12, 14, 1, -12 }, // '@'
{ 376, 12, 12, 14, 1, -12 }, // 'A'
{ 394, 12, 12, 14, 1, -12 }, // 'B'
{ 412, 12, 12, 14, 1, -12 }, // 'C'
{ 430, 12, 12, 14, 1, -12 }, // 'D'
{ 448, 11, 12, 13, 1, -12 }, // 'E'
{ 465, 11, 12, 13, 1, -12 }, // 'F'
{ 482, 12, 12, 14, 1, -12 }, // 'G'
{ 500, 13, 12, 15, 1, -12 }, // 'H'
{ 520, 3, 12, 5, 1, -12 }, // 'I'
{ 525, 13, 12, 13, 0, -12 }, // 'J'
{ 545, 12, 12, 14, 1, -12 }, // 'K'
{ 563, 12, 12, 13, 1, -12 }, // 'L'
{ 581, 14, 12, 16, 1, -12 }, // 'M'
{ 602, 12, 12, 14, 1, -12 }, // 'N'
{ 620, 12, 12, 14, 1, -12 }, // 'O'
{ 638, 12, 12, 14, 1, -12 }, // 'P'
{ 656, 14, 12, 15, 1, -12 }, // 'Q'
{ 677, 12, 12, 14, 1, -12 }, // 'R'
{ 695, 12, 12, 14, 1, -12 }, // 'S'
{ 713, 13, 12, 13, 0, -12 }, // 'T'
{ 733, 12, 12, 14, 1, -12 }, // 'U'
{ 751, 16, 12, 17, 1, -12 }, // 'V'
{ 775, 18, 12, 20, 1, -12 }, // 'W'
{ 802, 12, 12, 14, 1, -12 }, // 'X'
{ 820, 14, 12, 14, 0, -12 }, // 'Y'
{ 841, 12, 12, 14, 1, -12 }, // 'Z'
{ 859, 4, 12, 5, 1, -12 }, // '['
{ 865, 9, 12, 9, 0, -12 }, // '\'
{ 879, 4, 12, 5, 1, -12 }, // ']'
{ 885, 1, 1, 1, 0, 0 }, // '^'
{ 886, 12, 2, 14, 1, 0 }, // '_'
{ 889, 3, 3, 4, 1, -16 }, // '`'
{ 891, 10, 9, 12, 1, -9 }, // 'a'
{ 903, 10, 12, 12, 1, -12 }, // 'b'
{ 918, 10, 9, 12, 1, -9 }, // 'c'
{ 930, 11, 12, 12, 0, -12 }, // 'd'
{ 947, 10, 9, 12, 1, -9 }, // 'e'
{ 959, 6, 12, 8, 1, -12 }, // 'f'
{ 968, 10, 13, 12, 1, -9 }, // 'g'
{ 985, 10, 12, 12, 1, -12 }, // 'h'
{ 1000, 3, 12, 4, 1, -12 }, // 'i'
{ 1005, 7, 16, 5, -3, -12 }, // 'j'
{ 1019, 10, 12, 11, 1, -12 }, // 'k'
{ 1034, 5, 12, 6, 1, -12 }, // 'l'
{ 1042, 15, 9, 17, 1, -9 }, // 'm'
{ 1059, 10, 9, 12, 1, -9 }, // 'n'
{ 1071, 10, 9, 12, 1, -9 }, // 'o'
{ 1083, 10, 13, 12, 1, -9 }, // 'p'
{ 1100, 11, 13, 12, 0, -9 }, // 'q'
{ 1118, 8, 9, 9, 1, -9 }, // 'r'
{ 1127, 10, 9, 12, 1, -9 }, // 's'
{ 1139, 6, 12, 8, 1, -12 }, // 't'
{ 1148, 10, 9, 12, 1, -9 }, // 'u'
{ 1160, 13, 9, 14, 0, -9 }, // 'v'
{ 1175, 17, 9, 18, 1, -9 }, // 'w'
{ 1195, 10, 9, 12, 1, -9 }, // 'x'
{ 1207, 10, 13, 12, 1, -9 }, // 'y'
{ 1224, 10, 9, 12, 1, -9 }, // 'z'
{ 1236, 5, 12, 6, 0, -12 }, // '{'
{ 1244, 3, 15, 4, 1, -13 }, // '|'
{ 1250, 4, 12, 6, 1, -12 } // '}'
};
const GFXfont Orbitron_Medium_16 PROGMEM = {
(uint8_t *)Orbitron_Medium_16Bitmaps,(GFXglyph *)Orbitron_Medium_16Glyphs,0x20, 0x7E, 16};