-
Notifications
You must be signed in to change notification settings - Fork 1
/
Symbols.h
170 lines (167 loc) · 7.19 KB
/
Symbols.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
/* pixels to be drawn from top to bottom, from left to right.
second half of the table is cyrillic*/
#ifndef __SYMBOLS_H__
#define __SYMBOLS_H__
uint8_t font_5x8[][5] = {
0x00, 0x00, 0x00, 0x00, 0x00,// (space) 32
0x00, 0x00, 0x5F, 0x00, 0x00,// ! 33
0x00, 0x07, 0x00, 0x07, 0x00,// " 34
0x14, 0x7F, 0x14, 0x7F, 0x14,// # 35
0x24, 0x2A, 0x7F, 0x2A, 0x12,// $ 36
0x23, 0x13, 0x08, 0x64, 0x62,// % 37
0x36, 0x49, 0x55, 0x22, 0x50,// & 38
0x00, 0x05, 0x03, 0x00, 0x00,// ' 39
0x00, 0x1C, 0x22, 0x41, 0x00,// ( 40
0x00, 0x41, 0x22, 0x1C, 0x00,// ) 41
0x08, 0x2A, 0x1C, 0x2A, 0x08,// * 42
0x08, 0x08, 0x3E, 0x08, 0x08,// + 43
0x00, 0x50, 0x30, 0x00, 0x00,// , 44
0x08, 0x08, 0x08, 0x08, 0x08,// - 45
0x00, 0x30, 0x30, 0x00, 0x00,// . 46
0x20, 0x10, 0x08, 0x04, 0x02,// / 47
0x3E, 0x51, 0x49, 0x45, 0x3E,// 0 48
0x00, 0x42, 0x7F, 0x40, 0x00,// 1 49
0x42, 0x61, 0x51, 0x49, 0x46,// 2 50
0x21, 0x41, 0x45, 0x4B, 0x31,// 3 51
0x18, 0x14, 0x12, 0x7F, 0x10,// 4 52
0x27, 0x45, 0x45, 0x45, 0x39,// 5 53
0x3C, 0x4A, 0x49, 0x49, 0x30,// 6 54
0x01, 0x71, 0x09, 0x05, 0x03,// 7 55
0x36, 0x49, 0x49, 0x49, 0x36,// 8 56
0x06, 0x49, 0x49, 0x29, 0x1E,// 9 57
0x00, 0x36, 0x36, 0x00, 0x00,// : 58
0x00, 0x56, 0x36, 0x00, 0x00,// ; 59
0x00, 0x08, 0x14, 0x22, 0x41,// < 60
0x14, 0x14, 0x14, 0x14, 0x14,// = 61
0x41, 0x22, 0x14, 0x08, 0x00,// > 62
0x02, 0x01, 0x51, 0x09, 0x06,// ? 63
0x32, 0x49, 0x79, 0x41, 0x3E,// @ 64
0x7E, 0x11, 0x11, 0x11, 0x7E,// A 65
0x7F, 0x49, 0x49, 0x49, 0x36,// B 66
0x3E, 0x41, 0x41, 0x41, 0x22,// C 67
0x7F, 0x41, 0x41, 0x22, 0x1C,// D 68
0x7F, 0x49, 0x49, 0x49, 0x41,// E 69
0x7F, 0x09, 0x09, 0x01, 0x01,// F 70
0x3E, 0x41, 0x41, 0x51, 0x32,// G 71
0x7F, 0x08, 0x08, 0x08, 0x7F,// H 72
0x00, 0x41, 0x7F, 0x41, 0x00,// I 73
0x20, 0x40, 0x41, 0x3F, 0x01,// J 74
0x7F, 0x08, 0x14, 0x22, 0x41,// K 75
0x7F, 0x40, 0x40, 0x40, 0x40,// L 76
0x7F, 0x02, 0x04, 0x02, 0x7F,// M 77
0x7F, 0x04, 0x08, 0x10, 0x7F,// N 78
0x3E, 0x41, 0x41, 0x41, 0x3E,// O 79
0x7F, 0x09, 0x09, 0x09, 0x06,// P 80
0x3E, 0x41, 0x51, 0x21, 0x5E,// Q 81
0x7F, 0x09, 0x19, 0x29, 0x46,// R 82
0x46, 0x49, 0x49, 0x49, 0x31,// S 83
0x01, 0x01, 0x7F, 0x01, 0x01,// T 84
0x3F, 0x40, 0x40, 0x40, 0x3F,// U 85
0x1F, 0x20, 0x40, 0x20, 0x1F,// V 86
0x7F, 0x20, 0x18, 0x20, 0x7F,// W 87
0x63, 0x14, 0x08, 0x14, 0x63,// X 88
0x03, 0x04, 0x78, 0x04, 0x03,// Y 89
0x61, 0x51, 0x49, 0x45, 0x43,// Z 90
0x00, 0x00, 0x7F, 0x41, 0x41,// [ 91
0x02, 0x04, 0x08, 0x10, 0x20,// "\" 92
0x41, 0x41, 0x7F, 0x00, 0x00,// ] 93
0x04, 0x02, 0x01, 0x02, 0x04,// ^ 94
0x40, 0x40, 0x40, 0x40, 0x40,// _ 95
0x00, 0x01, 0x02, 0x04, 0x00,// ` 96
0x20, 0x54, 0x54, 0x54, 0x78,// a 97
0x7F, 0x48, 0x44, 0x44, 0x38,// b 98
0x38, 0x44, 0x44, 0x44, 0x20,// c 99
0x38, 0x44, 0x44, 0x48, 0x7F,// d 100
0x38, 0x54, 0x54, 0x54, 0x18,// e 101
0x08, 0x7E, 0x09, 0x01, 0x02,// f 102
0x08, 0x14, 0x54, 0x54, 0x3C,// g 103
0x7F, 0x08, 0x04, 0x04, 0x78,// h 104
0x00, 0x44, 0x7D, 0x40, 0x00,// i 105
0x20, 0x40, 0x44, 0x3D, 0x00,// j 106
0x00, 0x7F, 0x10, 0x28, 0x44,// k 107
0x00, 0x41, 0x7F, 0x40, 0x00,// l 108
0x7C, 0x04, 0x18, 0x04, 0x78,// m 109
0x7C, 0x08, 0x04, 0x04, 0x78,// n 110
0x38, 0x44, 0x44, 0x44, 0x38,// o 111
0x7C, 0x14, 0x14, 0x14, 0x08,// p 112
0x08, 0x14, 0x14, 0x18, 0x7C,// q 113
0x7C, 0x08, 0x04, 0x04, 0x08,// r 114
0x48, 0x54, 0x54, 0x54, 0x20,// s 115
0x04, 0x3F, 0x44, 0x40, 0x20,// t 116
0x3C, 0x40, 0x40, 0x20, 0x7C,// u 117
0x1C, 0x20, 0x40, 0x20, 0x1C,// v 118
0x3C, 0x40, 0x30, 0x40, 0x3C,// w 119
0x44, 0x28, 0x10, 0x28, 0x44,// x 120
0x0C, 0x50, 0x50, 0x50, 0x3C,// y 121
0x44, 0x64, 0x54, 0x4C, 0x44,// z 122
0x00, 0x08, 0x36, 0x41, 0x00,// { 123
0x00, 0x00, 0x7F, 0x00, 0x00,// | 124
0x00, 0x41, 0x36, 0x08, 0x00,// } 125
0x00, 0x00, 0x00, 0x00, 0x00,// (space) 126
0x00, 0x00, 0x00, 0x00, 0x00,// (space) 127
0x7E, 0x11, 0x11, 0x11, 0x7E,// A 192
0x7F, 0x45, 0x45, 0x45, 0x39,// Б 193
0x7F, 0x49, 0x49, 0x49, 0x36,// B 194
0x7F, 0x01, 0x01, 0x01, 0x03,// Г 195
0xC0, 0x7E, 0x41, 0x7F, 0xC0,// Д 196
0x7F, 0x49, 0x49, 0x49, 0x41,// E 197
119,8,127,8,119, // Ж 198
34,73,73,73,54, // З 199
127,32,16,8,127, // И 200
127,32,19,8,127, // Й 201
0x7F, 0x08, 0x14, 0x22, 0x41,// K 202
64,62,1,1,127, // Л 203
0x7F, 0x02, 0x04, 0x02, 0x7F,// M 204
0x7F, 0x08, 0x08, 0x08, 0x7F,// H 205
0x3E, 0x41, 0x41, 0x41, 0x3E,// O 206
127,1,1,1,127, // П 207
0x7F, 0x09, 0x09, 0x09, 0x06,// P 208
0x3E, 0x41, 0x41, 0x41, 0x22,// C 209
0x01, 0x01, 0x7F, 0x01, 0x01,// T 210
39,72,72,72,63, // У 211
30,33,127,33,30, // Ф 212
0x63, 0x14, 0x08, 0x14, 0x63,// X 213
127,64,64,127,192, // Ц 214
15,16,16,16,127, // Ч 215
127,64,124,64,127, // Ш 216
127,64,124,64,255, // Щ 217
1,127,72,72,48, // Ъ 218
127,72,48,0,127, // Ы 219
127,72,72,72,48, // Ь 220
34,73,73,73,62, // Э 221
127,8,62,65,62, // Ю 222
118,9,9,9,127, // Я 223
0x20, 0x54, 0x54, 0x54, 0x78,// a 224
124, 84, 84, 84, 36, // б 225
124, 84, 84, 84, 40, // в 226
124, 4, 4, 4, 12, // г 227
192, 120, 68, 124, 192, // д 228
0x38, 0x54, 0x54, 0x54, 0x18,// e 229
108, 16, 124, 16, 108, // ж 230
40, 68, 84, 84, 40, // з 231
124, 32, 16, 8, 124, // и 232
124, 33, 18, 8, 124, // й 233
124, 16, 16, 40, 68, // к 234
64, 56, 4, 4, 124, // л 235
124, 8, 16, 8, 124, // м 236
124, 16, 16, 16, 124, // н 237
0x38, 0x44, 0x44, 0x44, 0x38,// o 238
124, 4, 4, 4, 124, // п 239
0x7C, 0x14, 0x14, 0x14, 0x08,// p 240
0x38, 0x44, 0x44, 0x44, 0x20,// c 241
4, 4, 124, 4, 4, // т 242
0x0C, 0x50, 0x50, 0x50, 0x3C,// y 243
24, 36, 124, 36, 24, // ф 244
0x44, 0x28, 0x10, 0x28, 0x44,// x 245
124, 64, 64, 124, 192, // ц 246
12, 16, 16, 16, 124, // ч 247
124, 64, 120, 64, 124, // ш 248
124, 64, 120, 64, 252, // щ 249
124, 84, 80, 80, 32, // ъ 250
124,80,32,0,124, // ы 251
124, 80, 80, 80, 32, // ь 252
40, 68, 84, 84, 56, // э 253
124, 16, 56, 68, 56, // ю 254
72, 52, 20, 20, 124 // я 255
};
#endif