-
Notifications
You must be signed in to change notification settings - Fork 0
/
font5x5.h
133 lines (128 loc) · 4.5 KB
/
font5x5.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
#if defined(__AVR__)
#include <avr/pgmspace.h>
#elif defined(__PIC32MX__)
#define PROGMEM
#elif defined(__arm__)
#define PROGMEM
#endif
/*
* font5x5.h
* Title : Graphic LCD Font (Ascii Charaters)
*
* standard ascii 5x5 font
* defines ascii characters 0x20-0x7F (32-126)
*
*
* Created: 2018-01-17
* Author: Stefan Marsiske
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
const uint8_t font5x5[] PROGMEM={
0x00, 0x00, 0x00, 0x00, 0x00, // ' '
0x00, 0x00, 0x17, 0x00, 0x00, // '!'
0x00, 0x03, 0x00, 0x03, 0x00, // '"'
0x0a, 0x1f, 0x0a, 0x1f, 0x0a, // '#'
0x12, 0x15, 0x1f, 0x15, 0x09, // '$'
0x13, 0x0b, 0x04, 0x1a, 0x19, // '%'
0x0d, 0x12, 0x15, 0x08, 0x14, // '&'
0x00, 0x00, 0x03, 0x00, 0x00, // '''
0x00, 0x0e, 0x11, 0x00, 0x00, // '('
0x00, 0x00, 0x11, 0x0e, 0x00, // ')'
0x00, 0x05, 0x02, 0x05, 0x00, // '*'
0x04, 0x04, 0x1f, 0x04, 0x04, // '+'
0x00, 0x10, 0x08, 0x00, 0x00, // ','
0x04, 0x04, 0x04, 0x04, 0x04, // '-'
0x00, 0x18, 0x18, 0x00, 0x00, // '.'
0x10, 0x08, 0x04, 0x02, 0x01, // '/'
0x0e, 0x11, 0x15, 0x11, 0x0e, // '0'
0x00, 0x12, 0x1f, 0x10, 0x00, // '1'
0x00, 0x1d, 0x15, 0x15, 0x17, // '2'
0x00, 0x11, 0x15, 0x15, 0x0e, // '3'
0x00, 0x07, 0x04, 0x04, 0x1f, // '4'
0x00, 0x17, 0x15, 0x15, 0x09, // '5'
0x00, 0x1f, 0x15, 0x15, 0x1d, // '6'
0x00, 0x03, 0x19, 0x05, 0x03, // '7'
0x00, 0x0a, 0x15, 0x15, 0x0a, // '8'
0x00, 0x02, 0x15, 0x15, 0x0e, // '9'
0x00, 0x00, 0x12, 0x00, 0x00, // ':'
0x00, 0x08, 0x1a, 0x00, 0x00, // ';'
0x00, 0x04, 0x0a, 0x11, 0x00, // '<'
0x00, 0x0a, 0x0a, 0x0a, 0x0a, // '='
0x00, 0x11, 0x0a, 0x04, 0x00, // '>'
0x00, 0x01, 0x15, 0x05, 0x02, // '?'
0x0e, 0x11, 0x15, 0x05, 0x06, // '@'
0x00, 0x1f, 0x05, 0x05, 0x1f, // 'A'
0x00, 0x1f, 0x15, 0x15, 0x0e, // 'B'
0x00, 0x0e, 0x11, 0x11, 0x0a, // 'C'
0x00, 0x1f, 0x11, 0x11, 0x0e, // 'D'
0x00, 0x1f, 0x15, 0x15, 0x11, // 'E'
0x00, 0x1f, 0x05, 0x05, 0x01, // 'F'
0x00, 0x0e, 0x11, 0x15, 0x1d, // 'G'
0x00, 0x1f, 0x04, 0x04, 0x1f, // 'H'
0x00, 0x11, 0x1f, 0x11, 0x00, // 'I'
0x00, 0x18, 0x10, 0x10, 0x1f, // 'J'
0x00, 0x1f, 0x04, 0x0a, 0x11, // 'K'
0x00, 0x1f, 0x10, 0x10, 0x10, // 'L'
0x1f, 0x02, 0x0c, 0x02, 0x1f, // 'M'
0x00, 0x1f, 0x06, 0x0c, 0x1f, // 'N'
0x00, 0x0e, 0x11, 0x11, 0x0e, // 'O'
0x00, 0x1f, 0x05, 0x05, 0x02, // 'P'
0x00, 0x0e, 0x15, 0x19, 0x1e, // 'Q'
0x00, 0x1f, 0x05, 0x0d, 0x12, // 'R'
0x00, 0x12, 0x15, 0x15, 0x09, // 'S'
0x01, 0x01, 0x1f, 0x01, 0x01, // 'T'
0x00, 0x0f, 0x10, 0x10, 0x0f, // 'U'
0x03, 0x0c, 0x10, 0x0c, 0x03, // 'V'
0x0f, 0x10, 0x0c, 0x10, 0x0f, // 'W'
0x11, 0x0a, 0x04, 0x0a, 0x11, // 'X'
0x01, 0x02, 0x1c, 0x02, 0x01, // 'Y'
0x00, 0x19, 0x15, 0x13, 0x11, // 'Z'
0x00, 0x1f, 0x11, 0x11, 0x00, // '['
0x01, 0x02, 0x04, 0x08, 0x10, // '\'
0x00, 0x11, 0x11, 0x1f, 0x00, // ']'
0x00, 0x02, 0x01, 0x02, 0x00, // '^'
0x10, 0x10, 0x10, 0x10, 0x10, // '_'
0x00, 0x01, 0x02, 0x00, 0x00, // '`'
0x00, 0x08, 0x1a, 0x1a, 0x1c, // 'a'
0x00, 0x1f, 0x14, 0x14, 0x08, // 'b'
0x00, 0x0c, 0x12, 0x12, 0x12, // 'c'
0x00, 0x08, 0x14, 0x14, 0x1f, // 'd'
0x00, 0x0c, 0x16, 0x16, 0x14, // 'e'
0x00, 0x04, 0x1e, 0x05, 0x01, // 'f'
0x00, 0x0c, 0x12, 0x1a, 0x08, // 'g'
0x00, 0x1f, 0x04, 0x04, 0x18, // 'h'
0x00, 0x10, 0x14, 0x1d, 0x10, // 'i'
0x00, 0x18, 0x10, 0x10, 0x1d, // 'j'
0x00, 0x1f, 0x08, 0x0c, 0x10, // 'k'
0x00, 0x11, 0x1f, 0x10, 0x00, // 'l'
0x1e, 0x02, 0x1e, 0x02, 0x1c, // 'm'
0x00, 0x1e, 0x02, 0x02, 0x1c, // 'n'
0x00, 0x0c, 0x12, 0x12, 0x0c, // 'o'
0x00, 0x1e, 0x0a, 0x0a, 0x04, // 'p'
0x00, 0x04, 0x0a, 0x0a, 0x1e, // 'q'
0x00, 0x1c, 0x02, 0x02, 0x02, // 'r'
0x00, 0x14, 0x1e, 0x1a, 0x0a, // 's'
0x00, 0x04, 0x0f, 0x14, 0x10, // 't'
0x00, 0x0e, 0x10, 0x10, 0x1e, // 'u'
0x00, 0x06, 0x18, 0x18, 0x06, // 'v'
0x0e, 0x10, 0x0e, 0x10, 0x0e, // 'w'
0x00, 0x12, 0x0c, 0x0c, 0x12, // 'x'
0x00, 0x02, 0x14, 0x1c, 0x02, // 'y'
0x00, 0x12, 0x1a, 0x16, 0x12, // 'z'
0x00, 0x04, 0x1f, 0x11, 0x11, // '{'
0x00, 0x00, 0x1f, 0x00, 0x00, // '|'
0x00, 0x11, 0x11, 0x1f, 0x04, // '}'
0x00, 0x01, 0x03, 0x02, 0x02, // '~'
};