-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfont_data.h
116 lines (109 loc) · 4.56 KB
/
font_data.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
#ifndef __FONT_DATA_H
#define __FONT_DATA_H
#include <Arduino.h>
//#define FONTS_IN_PROGMEM
#ifdef FONTS_IN_PROGMEM
#define FONT_STORAGE PROGMEM
#else
#define FONT_STORAGE
#endif
const uint8_t FONT_STORAGE font4x5[] = {
// header: char height | bytes per char
(5 << 4) | 3,
/* */ 0b00100000, 0b00000000, 0b00000000,
/* ! */ 0b00011110, 0b10000000, 0b00000000,
/* " */ 0b00111011, 0b01000000, 0b00000000,
/* # */ 0b01001010, 0b11111010, 0b11111010,
/* $ */ 0b01000111, 0b10100110, 0b01011110,
/* % */ 0b01001100, 0b00010110, 0b10000011,
/* & */ 0b01000100, 0b10100100, 0b10100101,
/* ' */ 0b00011100, 0b00000000, 0b00000000,
/* ( */ 0b00100110, 0b10100100, 0b00000000,
/* ) */ 0b00101001, 0b01011000, 0b00000000,
/* * */ 0b01001001, 0b01101111, 0b01101001,
/* + */ 0b00110000, 0b10111010, 0b00000000,
/* , */ 0b00100000, 0b00011000, 0b00000000,
/* - */ 0b00110000, 0b00111000, 0b00000000,
/* . */ 0b00010000, 0b10000000, 0b00000000,
/* / */ 0b00110010, 0b01010100, 0b10000000,
/* 0 */ 0b01000110, 0b10111101, 0b10010110,
/* 1 */ 0b01000010, 0b01100010, 0b00100010,
/* 2 */ 0b01000110, 0b10010010, 0b01001111,
/* 3 */ 0b01001110, 0b00010110, 0b00011110,
/* 4 */ 0b01001001, 0b10011111, 0b00010001,
/* 5 */ 0b01001111, 0b10001110, 0b00011110,
/* 6 */ 0b01000110, 0b10001110, 0b10010110,
/* 7 */ 0b01001111, 0b00010010, 0b00100010,
/* 8 */ 0b01000110, 0b10010110, 0b10010110,
/* 9 */ 0b01000110, 0b10010111, 0b00010110,
/* : */ 0b00010101, 0b00000000, 0b00000000,
/* ; */ 0b00010101, 0b10000000, 0b00000000,
/* < */ 0b00110010, 0b10100010, 0b00100000,
/* = */ 0b00110001, 0b11000111, 0b00000000,
/* > */ 0b00111000, 0b10001010, 0b10000000,
/* ? */ 0b00111100, 0b01010000, 0b01000000,
/* @ */ 0b01000110, 0b10011011, 0b10000111,
/* A */ 0b01000110, 0b10011111, 0b10011001,
/* B */ 0b01001110, 0b10011110, 0b10011110,
/* C */ 0b01000110, 0b10011000, 0b10010110,
/* D */ 0b01001110, 0b10011001, 0b10011110,
/* E */ 0b01001111, 0b10001110, 0b10001111,
/* F */ 0b01001111, 0b10001110, 0b10001000,
/* G */ 0b01000110, 0b10001011, 0b10010110,
/* H */ 0b01001001, 0b10011111, 0b10011001,
/* I */ 0b00011111, 0b10000000, 0b00000000,
/* J */ 0b01000001, 0b00010001, 0b10010110,
/* K */ 0b01001001, 0b10101100, 0b10101001,
/* L */ 0b01001000, 0b10001000, 0b10001111,
/* M */ 0b01001001, 0b11111001, 0b10011001,
/* N */ 0b01001001, 0b11011011, 0b10011001,
/* O */ 0b01000110, 0b10011001, 0b10010110,
/* P */ 0b01001110, 0b10011110, 0b10001000,
/* Q */ 0b01000110, 0b10011001, 0b10110111,
/* R */ 0b01001110, 0b10011110, 0b10101001,
/* S */ 0b01000111, 0b10000110, 0b00011110,
/* T */ 0b00111110, 0b10010010, 0b01000000,
/* U */ 0b01001001, 0b10011001, 0b10010110,
/* V */ 0b00111011, 0b01101101, 0b01000000,
/* W */ 0b01001001, 0b10011001, 0b11111001,
/* X */ 0b01001001, 0b10010110, 0b10011001,
/* Y */ 0b00111011, 0b01010010, 0b01000000,
/* Z */ 0b01001111, 0b00010110, 0b10001111,
/* [ */ 0b00101110, 0b10101100, 0b00000000,
/* \ */ 0b00111001, 0b00010001, 0b00100000,
/* ] */ 0b00101101, 0b01011100, 0b00000000,
/* ^ */ 0b00110101, 0b01000000, 0b00000000,
/* _ */ 0b01000000, 0b00000000, 0b00001111,
/* ` */ 0b00101001, 0b00000000, 0b00000000,
/* a */ 0b01000110, 0b10011111, 0b10011001,
/* b */ 0b01001110, 0b10011110, 0b10011110,
/* c */ 0b01000110, 0b10011000, 0b10010110,
/* d */ 0b01001110, 0b10011001, 0b10011110,
/* e */ 0b01001111, 0b10001110, 0b10001111,
/* f */ 0b01001111, 0b10001110, 0b10001000,
/* g */ 0b01000110, 0b10001011, 0b10010110,
/* h */ 0b01001001, 0b10011111, 0b10011001,
/* i */ 0b00011111, 0b10000000, 0b00000000,
/* j */ 0b01000001, 0b00010001, 0b10010110,
/* k */ 0b01001001, 0b10101100, 0b10101001,
/* l */ 0b01001000, 0b10001000, 0b10001111,
/* m */ 0b01001001, 0b11111001, 0b10011001,
/* n */ 0b01001001, 0b11011011, 0b10011001,
/* o */ 0b01000110, 0b10011001, 0b10010110,
/* p */ 0b01001110, 0b10011110, 0b10001000,
/* q */ 0b01000110, 0b10011001, 0b10110111,
/* r */ 0b01001110, 0b10011110, 0b10101001,
/* s */ 0b01000111, 0b10000110, 0b00011110,
/* t */ 0b00111110, 0b10010010, 0b01000000,
/* u */ 0b01001001, 0b10011001, 0b10010110,
/* v */ 0b00111011, 0b01101101, 0b01000000,
/* w */ 0b01001001, 0b10011001, 0b11111001,
/* x */ 0b01001001, 0b10010110, 0b10011001,
/* y */ 0b00111011, 0b01010010, 0b01000000,
/* z */ 0b01001111, 0b00010110, 0b10001111,
/* { */ 0b00110110, 0b10110010, 0b01100000,
/* | */ 0b00011101, 0b10000000, 0b00000000,
/* } */ 0b00111100, 0b10011010, 0b11000000,
/* ~ */ 0b01000000, 0b01011010, 0b00000000
};
#endif