-
Notifications
You must be signed in to change notification settings - Fork 0
/
font6x8.inc
executable file
·122 lines (109 loc) · 4.76 KB
/
font6x8.inc
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
#define nchars_6x8 (96+32-startchar)
#define startchar 24
const char FONT6x8[nchars_6x8][8] =
{
0x30,0x78,0xfc,0x30,0x30,0x30,0x30,0x00, // 24 up arrow
0x30,0x30,0x30,0x30,0xfc,0x78,0x30,0x00, // 25 down arrow
0x30,0x78,0xfc,0x30,0x30,0x30,0x30,0x00, // 26 left arrow
0x30,0x30,0x30,0x30,0xfc,0x78,0x30,0x00, // 27 right arrow
0x38,0x38,0x7c,0x7c,0x7c,0x7c,0x7c,0x00, // 28 battery
0xf8,0x88,0x88,0x88,0xc8,0x48,0x78,0x00, //29 Card
0x00,0x00,0x00,0x00,0x00,0xc0,0xc0,0x00,// offset dot
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,//spare
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//space 32
0x20,0x20,0x20,0x20,0x20,0x00,0x20,0x00,//!
0x50,0x50,0x50,0x00,0x00,0x00,0x00,0x00,//"
0x50,0x50,0xF8,0x50,0xF8,0x50,0x50,0x00,//#
0x20,0x78,0xA0,0x70,0x28,0xF0,0x20,0x00,//$
0xC0,0xC8,0x10,0x20,0x40,0x98,0x18,0x00,//%
0x40,0xA0,0xA0,0x40,0xA8,0x90,0x68,0x00,//&
0x30,0x30,0x20,0x40,0x00,0x00,0x00,0x00,//'
0x10,0x20,0x40,0x40,0x40,0x20,0x10,0x00,//(
0x40,0x20,0x10,0x10,0x10,0x20,0x40,0x00,//)
0x00,0x20,0xA8,0x70,0x70,0xA8,0x20,0x00,//star
0x00,0x20,0x20,0xF8,0x20,0x20,0x00,0x00,//+
0x00,0x00,0x00,0x00,0x30,0x30,0x20,0x40,//,
0x00,0x00,0x00,0xF8,0x00,0x00,0x00,0x00,//-
0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x00,//.
0x00,0x08,0x10,0x20,0x40,0x80,0x00,0x00,///
0x70,0x88,0x88,0x88,0x88,0x88,0x70,0x00,//0 remove dot from zero
0x20,0x60,0x20,0x20,0x20,0x20,0x70,0x00,//1
0x70,0x88,0x08,0x70,0x80,0x80,0xF8,0x00,//2
0xF8,0x08,0x10,0x30,0x08,0x88,0x70,0x00,//3
0x10,0x30,0x50,0x90,0xF8,0x10,0x10,0x00,//4
0xF8,0x80,0xF0,0x08,0x08,0x88,0x70,0x00,//5
0x38,0x40,0x80,0xF0,0x88,0x88,0x70,0x00,//6
0xF8,0x08,0x08,0x10,0x20,0x40,0x80,0x00,//7
0x70,0x88,0x88,0x70,0x88,0x88,0x70,0x00,//8
0x70,0x88,0x88,0x78,0x08,0x10,0xE0,0x00,//9
0x00,0x00,0x20,0x00,0x20,0x00,0x00,0x00,//:
0x00,0x00,0x20,0x00,0x20,0x20,0x40,0x00,//;
0x08,0x10,0x20,0x40,0x20,0x10,0x08,0x00,//<
0x00,0x00,0xF8,0x00,0xF8,0x00,0x00,0x00,//=
0x40,0x20,0x10,0x08,0x10,0x20,0x40,0x00,//>
0x70,0x88,0x08,0x30,0x20,0x00,0x20,0x00,//?
0x70,0x88,0xA8,0xB8,0xB0,0x80,0x78,0x00,//@
0x20,0x50,0x88,0x88,0xF8,0x88,0x88,0x00,//A
0xF0,0x88,0x88,0xF0,0x88,0x88,0xF0,0x00,//B
0x70,0x88,0x80,0x80,0x80,0x88,0x70,0x00,//C
0xF0,0x88,0x88,0x88,0x88,0x88,0xF0,0x00,//D
0xF8,0x80,0x80,0xF0,0x80,0x80,0xF8,0x00,//E
0xF8,0x80,0x80,0xF0,0x80,0x80,0x80,0x00,//F
0x78,0x88,0x80,0x80,0x98,0x88,0x78,0x00,
0x88,0x88,0x88,0xF8,0x88,0x88,0x88,0x00,
0x70,0x20,0x20,0x20,0x20,0x20,0x70,0x00,
0x38,0x10,0x10,0x10,0x10,0x90,0x60,0x00,
0x88,0x90,0xA0,0xC0,0xA0,0x90,0x88,0x00,
0x80,0x80,0x80,0x80,0x80,0x80,0xF8,0x00,
0x88,0xD8,0xA8,0xA8,0xA8,0x88,0x88,0x00,
0x88,0x88,0xC8,0xA8,0x98,0x88,0x88,0x00,
0x70,0x88,0x88,0x88,0x88,0x88,0x70,0x00,
0xF0,0x88,0x88,0xF0,0x80,0x80,0x80,0x00,
0x70,0x88,0x88,0x88,0xA8,0x90,0x68,0x00,
0xF0,0x88,0x88,0xF0,0xA0,0x90,0x88,0x00,
0x70,0x88,0x80,0x70,0x08,0x88,0x70,0x00,
0xF8,0xA8,0x20,0x20,0x20,0x20,0x20,0x00,
0x88,0x88,0x88,0x88,0x88,0x88,0x70,0x00,
0x88,0x88,0x88,0x88,0x88,0x50,0x20,0x00,
0x88,0x88,0x88,0xA8,0xA8,0xA8,0x50,0x00,
0x88,0x88,0x50,0x20,0x50,0x88,0x88,0x00,
0x88,0x88,0x50,0x20,0x20,0x20,0x20,0x00,
0xF8,0x08,0x10,0x70,0x40,0x80,0xF8,0x00, //Z
0x78,0x40,0x40,0x40,0x40,0x40,0x78,0x00, // [
0x00,0x80,0x40,0x20,0x10,0x08,0x00,0x00, //
0x78,0x08,0x08,0x08,0x08,0x08,0x78,0x00, // ]
0x20,0x50,0x88,0x00,0x00,0x00,0x00,0x00, // ^
0x00,0x00,0x00,0x00,0x00,0x00,0xF8,0x00, // _
0x60,0x60,0x20,0x10,0x00,0x00,0x00,0x00, // ~
0x00,0x00,0x60,0x10,0x70,0x90,0x78,0x00, // a
0x80,0x80,0xB0,0xC8,0x88,0xC8,0xB0,0x00,
0x00,0x00,0x70,0x88,0x80,0x88,0x70,0x00,
0x08,0x08,0x68,0x98,0x88,0x98,0x68,0x00,
0x00,0x00,0x70,0x88,0xF8,0x80,0x70,0x00,
0x10,0x28,0x20,0x70,0x20,0x20,0x20,0x00,
0x00,0x00,0x70,0x98,0x98,0x68,0x08,0x70,
0x80,0x80,0xB0,0xC8,0x88,0x88,0x88,0x00,
0x20,0x00,0x60,0x20,0x20,0x20,0x70,0x00,
0x10,0x00,0x10,0x10,0x10,0x90,0x60,0x00,
0x80,0x80,0x90,0xA0,0xC0,0xA0,0x90,0x00,
0x60,0x20,0x20,0x20,0x20,0x20,0x70,0x00,
0x00,0x00,0xD0,0xA8,0xA8,0xA8,0xA8,0x00,
0x00,0x00,0xB0,0xC8,0x88,0x88,0x88,0x00,
0x00,0x00,0x70,0x88,0x88,0x88,0x70,0x00,
0x00,0x00,0xB0,0xC8,0xC8,0xB0,0x80,0x80,
0x00,0x00,0x68,0x98,0x98,0x68,0x08,0x08,
0x00,0x00,0xB0,0xC8,0x80,0x80,0x80,0x00,
0x00,0x00,0x78,0x80,0x70,0x08,0xF0,0x00,
0x20,0x20,0xF8,0x20,0x20,0x28,0x10,0x00,
0x00,0x00,0x88,0x88,0x88,0x98,0x68,0x00,
0x00,0x00,0x88,0x88,0x88,0x50,0x20,0x00,
0x00,0x00,0x88,0x88,0xA8,0xA8,0x50,0x00,
0x00,0x00,0x88,0x50,0x20,0x50,0x88,0x00,
0x00,0x00,0x88,0x88,0x78,0x08,0x88,0x70,
0x00,0x00,0xF8,0x10,0x20,0x40,0xF8,0x00, //z
0x10,0x20,0x20,0x40,0x20,0x20,0x10,0x00, //{
0x20,0x20,0x20,0x00,0x20,0x20,0x20,0x00,
0x40,0x20,0x20,0x10,0x20,0x20,0x40,0x00, //}
0x40,0xA8,0x10,0x00,0x00,0x00,0x00,0x00, //~
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff // spare
};