-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patharhn.ino
181 lines (174 loc) · 4.73 KB
/
arhn.ino
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
/*
*
* arhn3x5
*
* created with FontCreator
* written by F. Maximilian Thiele
*
* http://www.apetech.de/fontCreator
* me@apetech.de
*
* File Name : arhn.txt
* Date : 03.03.2018
* Font size in bytes : 3206
* Font width : 3
* Font height : -8
* Font first char : 0
* Font last char : 128
* Font used chars : 128
*
* The font data are defined as
*
* struct _FONT_ {
* uint16_t font_Size_in_Bytes_over_all_included_Size_it_self;
* uint8_t font_Width_in_Pixel_for_fixed_drawing;
* uint8_t font_Height_in_Pixel_for_all_characters;
* unit8_t font_First_Char;
* uint8_t font_Char_Count;
*
* uint8_t font_Char_Widths[font_Last_Char - font_First_Char +1];
* // for each character the separate width in pixels,
* // characters < 128 have an implicit virtual right empty row
*
* uint8_t font_data[];
* // bit field of all characters
*/
#include <inttypes.h>
#include <avr/pgmspace.h>
#ifndef arhn3x5_H
#define arhn3x5_H
//#define arhn3x5_WIDTH 3
//#define arhn3x5_HEIGHT 5
const uint8_t arhn3x5[] PROGMEM = {
3,5,
// font data
0x0D, 0x16, 0x0D, // 0
0x1D, 0x1F, 0x1D, // 1
0x0A, 0x10, 0x0A, // 2
0x0E, 0x1C, 0x0E, // 3
0x0C, 0x1E, 0x0C, // 4
0x14, 0x1A, 0x14, // 5
0x16, 0x1F, 0x16, // 6
0x1E, 0x13, 0x1E, // 7
0x1E, 0x1B, 0x1E, // 8
0x1E, 0x1F, 0x1E, // 9
0x3F, 0x21, 0x3F, // 10
0x3A, 0x2F, 0x3A, // 11
0x17, 0x3D, 0x17, // 12
0x3F, 0x21, 0x3F, // 13
0x18, 0x1F, 0x02, // 14
0x04, 0x0A, 0x04, // 15
0x1F, 0x0E, 0x04, // 16
0x04, 0x0E, 0x1F, // 17
0x0A, 0x1F, 0x0A, // 18
0x0E, 0x0E, 0x1F, // 19
0x04, 0x11, 0x0E, // 20
0x2E, 0x25, 0x2E, // 21
0x2F, 0x2A, 0x2E, // 22
0x26, 0x29, 0x29, // 23
0x02, 0x1F, 0x02, // 24
0x08, 0x1F, 0x08, // 25
0x15, 0x0E, 0x04, // 26
0x04, 0x0E, 0x15, // 27
0x0E, 0x15, 0x15, // 28
0x1B, 0x15, 0x1B, // 29
0x04, 0x06, 0x04, // 30
0x04, 0x0C, 0x04, // 31
0x00, 0x00, 0x00, // 32
0x00, 0x17, 0x00, // 33
0x03, 0x00, 0x03, // 34
0x1F, 0x0A, 0x1F, // 35
0x16, 0x37, 0x1A, // 36
0x19, 0x04, 0x13, // 37
0x0A, 0x15, 0x3A, // 38
0x00, 0x03, 0x00, // 39
0x00, 0x0E, 0x11, // 40
0x11, 0x0E, 0x00, // 41
0x0A, 0x04, 0x0A, // 42
0x04, 0x0E, 0x04, // 43
0x00, 0x30, 0x00, // 44
0x04, 0x04, 0x04, // 45
0x00, 0x10, 0x00, // 46
0x18, 0x04, 0x03, // 47
0x1F, 0x11, 0x1F, // 48
0x12, 0x1F, 0x10, // 49
0x1D, 0x15, 0x17, // 50
0x11, 0x15, 0x1F, // 51
0x07, 0x04, 0x1F, // 52
0x17, 0x15, 0x1D, // 53
0x1F, 0x15, 0x1D, // 54
0x01, 0x01, 0x1F, // 55
0x1F, 0x15, 0x1F, // 56
0x17, 0x15, 0x1F, // 57
0x00, 0x0A, 0x00, // 58
0x00, 0x32, 0x00, // 59
0x04, 0x0A, 0x11, // 60
0x0A, 0x0A, 0x0A, // 61
0x11, 0x0A, 0x04, // 62
0x01, 0x15, 0x02, // 63
0x0E, 0x11, 0x17, // 64
0x1E, 0x05, 0x1E, // 65
0x1F, 0x15, 0x0A, // 66
0x0E, 0x11, 0x0A, // 67
0x1F, 0x11, 0x0E, // 68
0x1F, 0x15, 0x11, // 69
0x1F, 0x05, 0x01, // 70
0x0E, 0x11, 0x1D, // 71
0x1F, 0x04, 0x1F, // 72
0x11, 0x1F, 0x11, // 73
0x08, 0x10, 0x0F, // 74
0x1F, 0x04, 0x1B, // 75
0x1F, 0x10, 0x10, // 76
0x1F, 0x06, 0x1F, // 77
0x1E, 0x04, 0x0F, // 78
0x0E, 0x11, 0x0E, // 79
0x1F, 0x09, 0x06, // 80
0x0E, 0x11, 0x2E, // 81
0x1F, 0x05, 0x1A, // 82
0x12, 0x15, 0x09, // 83
0x01, 0x1F, 0x01, // 84
0x1F, 0x10, 0x1F, // 85
0x0F, 0x18, 0x0F, // 86
0x1F, 0x0C, 0x1F, // 87
0x1B, 0x04, 0x1B, // 88
0x03, 0x1C, 0x03, // 89
0x19, 0x15, 0x13, // 90
0x00, 0x1F, 0x11, // 91
0x03, 0x04, 0x18, // 92
0x11, 0x1F, 0x00, // 93
0x02, 0x01, 0x02, // 94
0x20, 0x20, 0x20, // 95
0x00, 0x01, 0x02, // 96
0x0C, 0x12, 0x1E, // 97
0x1F, 0x12, 0x0C, // 98
0x0C, 0x12, 0x12, // 99
0x0C, 0x12, 0x1F, // 100
0x0C, 0x1A, 0x14, // 101
0x04, 0x1E, 0x05, // 102
0x24, 0x2A, 0x1E, // 103
0x1F, 0x02, 0x1C, // 104
0x14, 0x1D, 0x10, // 105
0x20, 0x20, 0x1D, // 106
0x1F, 0x08, 0x14, // 107
0x11, 0x1F, 0x10, // 108
0x1E, 0x04, 0x1E, // 109
0x1E, 0x02, 0x1C, // 110
0x0C, 0x12, 0x0C, // 111
0x3E, 0x0A, 0x04, // 112
0x0C, 0x12, 0x3E, // 113
0x1E, 0x04, 0x02, // 114
0x14, 0x16, 0x0A, // 115
0x02, 0x0F, 0x12, // 116
0x0E, 0x10, 0x1E, // 117
0x0E, 0x10, 0x0E, // 118
0x1E, 0x08, 0x1E, // 119
0x12, 0x0C, 0x12, // 120
0x26, 0x28, 0x1E, // 121
0x32, 0x2A, 0x26, // 122
0x04, 0x1E, 0x21, // 123
0x00, 0x1F, 0x00, // 124
0x21, 0x1E, 0x04, // 125
0x01, 0x02, 0x01, // 126
0x3F, 0x21, 0x3F // 127
};
#endif