aboutsummaryrefslogtreecommitdiff
path: root/code/src/font.h
blob: 08300f7542828778b51b6152d002c6d7aabdc564 (plain)
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
/*
 Copyright 2021, tslil clingman

 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.

 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/>.
*/

#include <avr/pgmspace.h>

/*
  4x4 pixel blocks and 64x64 pixel blocks means 16x16 resolution
  These are packed 8 into a byte, so 2 * 16 * 10 = 320 bytes

  The packing is as follows: b7 b6 b5 b4 b3 b2 b1 b0

  --> b0  b2  b4  b6
      b1  b3  b5  b7
*/


PROGMEM const uint8_t font[320] = {
0x0, 0x50, 0x5, 0x0,
0x40, 0xA, 0xA0, 0x1,
0x90, 0x0, 0x0, 0x6,
0x30, 0x0, 0x0, 0xC,
0x30, 0x0, 0x0, 0xC,
0x60, 0x0, 0x0, 0x9,
0x80, 0x5, 0x50, 0x2,
0x0, 0xA0, 0xA, 0x0,
0x0, 0x0, 0x1, 0x0,
0x0, 0x90, 0x3, 0x0,
0x0, 0x8, 0x3, 0x0,
0x0, 0x0, 0x3, 0x0,
0x0, 0x0, 0x3, 0x0,
0x0, 0x0, 0x3, 0x0,
0x0, 0x0, 0x3, 0x0,
0x0, 0x0, 0x2, 0x0,
0x0, 0x50, 0x1, 0x0,
0x0, 0x8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