Anda di halaman 1dari 3

Features Explore Pricing This repository Search Sign in or Sign up

agr00m / LedMatrix Watch 1 Star 0 Fork 0

Code Issues 0 Pull requests 0 Projects 0 Wiki Pulse Graphs

Branch: master LedMatrix / src / font_5x7_col.h Find file Copy path

agr00m Initial submit 64657cf on 15 Sep 2015

1 contributor

159lines(155sloc) 6.38KB Raw Blame History

1 /**
2 *5x7monochromebitmapfontsforrendering
3 *Author:AaronGroom
4 *
5 *License:PublicDomain
6 *
7 *Note:
8 *Allcharactershaveablankcolumnafter
9 *forwordspacing.
10 *
11 *Tousedirectcharmappingfortheindex
12 *(e.g.font5x7['a'][n],
13 *youmustsubtract16fromthecharcode.
14 *(e.g.font5x7['a'16][n]).
15 *
16 *Eachelementisacolumnofthechar.
17 *font5x7[n][0]iscolumn1,etc.Blank
18 *pixelatthetopofcharforfullbyte.
19 **/
20
21 constuint8_tfont_5x7_col[128][5]PROGMEM={
22 {0x00,0x00,0x00,0x00,0x00},//
23 {0x00,0x00,0x00,0x00,0x00},//
24 {0x00,0x00,0x00,0x00,0x00},//
25 {0x00,0x00,0x00,0x00,0x00},//
26 {0x00,0x00,0x00,0x00,0x00},//
27 {0x00,0x00,0x00,0x00,0x00},//
28 {0x00,0x00,0x00,0x00,0x00},//
29 {0x00,0x00,0x00,0x00,0x00},//
30 {0x00,0x00,0x00,0x00,0x00},//
31 {0x03,0x07,0x7E,0x20,0x1C},//
32 {0x60,0x66,0x09,0x09,0x09},//
33 {0x60,0x6F,0x0A,0x0A,0x08},//
34 {0x10,0x18,0x1C,0x18,0x10},//
35 {0x00,0x3E,0x1C,0x08,0x00},//
36 {0x00,0x08,0x1C,0x3E,0x00},//
37 {0x04,0x0C,0x1C,0x0C,0x04},//
38 {0x7F,0x00,0x00,0x00,0x00},//(1colleft)
39 {0x7F,0x7F,0x00,0x00,0x00},//(2colleft)
40 {0x7F,0x7F,0x7F,0x00,0x00},//(3colleft)
41 {0x7F,0x7F,0x7F,0x7F,0x00},//(4colleft)
42 {0x7F,0x7F,0x7F,0x7F,0x7F},//(solidfill)
43 {0x00,0x7F,0x7F,0x7F,0x7F},//(4colright)
44 {0x00,0x00,0x7F,0x7F,0x7F},//(3colright)
45 {0x00,0x00,0x00,0x7F,0x7F},//(2colright)
46 {0x00,0x00,0x00,0x00,0x7F},//(1colright)
47 {0x03,0x07,0x7E,0x20,0x1C},//(musicnote)
48 {0x60,0x66,0x09,0x09,0x09},//(degc)
49 {0x60,0x6F,0x0A,0x0A,0x08},//(degf)
50 {0x10,0x18,0x1C,0x18,0x10},//(triangledown)
51 {0x00,0x3E,0x1C,0x08,0x00},//(triangleright)
52 {0x00,0x08,0x1C,0x3E,0x00},//(triangleleft)
53 {0x04,0x0C,0x1C,0x0C,0x04},//(triangleup)
54 {0x00,0x00,0x00,0x00,0x00},//(space)
55 {0x00,0x7D,0x00,0x00,0x00},//(!)
56 {0x00,0x70,0x00,0x70,0x00},//(")
57 {0x14,0x7F,0x14,0x7F,0x14},//(#)
58 {0x12,0x2A,0x7F,0x2A,0x24},//($)
59 {0x62,0x64,0x08,0x13,0x23},//(%)
60 {0x36,0x49,0x35,0x02,0x05},//(&)
61 {0x00,0x50,0x60,0x00,0x00},//(')
62 {0x00,0x1C,0x22,0x41,0x00},//(()
63 {0x00,0x41,0x22,0x1C,0x00},//())
64 {0x44,0x28,0x7C,0x28,0x44},//(*)
65 {0x08,0x08,0x7F,0x08,0x08},//(+)
66 {0x05,0x06,0x00,0x00,0x00},//(,)
67 {0x08,0x08,0x08,0x00,0x00},//()
68 {0x00,0x03,0x03,0x00,0x00},//(.)
69 {0x02,0x04,0x08,0x10,0x20},//(/)
70 {0x3E,0x45,0x49,0x51,0x3E},//(0)
71 {0x00,0x21,0x7F,0x01,0x00},//(1)
72 {0x21,0x43,0x45,0x49,0x31},//(2)
73 {0x42,0x41,0x51,0x69,0x46},//(3)
74 {0x0C,0x14,0x24,0x7F,0x04},//(4)
75 {0x72,0x51,0x51,0x51,0x4E},//(5)
76 {0x1E,0x29,0x49,0x49,0x06},//(6)
77 {0x43,0x44,0x48,0x50,0x60},//(7)
78 {0x36,0x49,0x49,0x49,0x36},//(8)
79 {0x30,0x49,0x49,0x4A,0x3C},//(9)
80 {0x00,0x36,0x36,0x00,0x00},//(:)
81 {0x00,0x35,0x36,0x00,0x00},//(;)
82 {0x08,0x14,0x22,0x41,0x00},//(<)
83 {0x14,0x14,0x14,0x14,0x14},//(=)
84 {0x41,0x22,0x14,0x08,0x00},//(>)
85 {0x20,0x40,0x45,0x48,0x30},//(?)
86 {0x3E,0x41,0x4D,0x51,0x36},//(@)
87 {0x3F,0x48,0x48,0x48,0x3F},//(A)
88 {0x7F,0x49,0x49,0x49,0x36},//(B)
89 {0x3E,0x41,0x41,0x41,0x22},//(C)
90 {0x7F,0x41,0x41,0x41,0x3E},//(D)
91 {0x7F,0x49,0x49,0x49,0x41},//(E)
92 {0x7F,0x48,0x48,0x48,0x40},//(F)
93 {0x3E,0x41,0x49,0x49,0x2E},//(G)
94 {0x7F,0x08,0x08,0x08,0x7F},//(H)
95 {0x00,0x41,0x7F,0x41,0x00},//(I)
96 {0x02,0x01,0x41,0x7E,0x40},//(J)
97 {0x7F,0x08,0x14,0x22,0x41},//(K)
98 {0x7F,0x01,0x01,0x01,0x01},//(L)
99 {0x7F,0x20,0x18,0x20,0x7F},//(M)
100 {0x7F,0x10,0x08,0x04,0x7F},//(N)
101 {0x3E,0x41,0x41,0x41,0x3E},//(O)
102 {0x7F,0x48,0x48,0x48,0x30},//(P)
103 {0x3E,0x41,0x45,0x42,0x3D},//(Q)
104 {0x7F,0x48,0x4C,0x4A,0x31},//(R)
105 {0x31,0x49,0x49,0x49,0x46},//(S)
106 {0x40,0x40,0x7F,0x40,0x40},//(T)
107 {0x7E,0x01,0x01,0x01,0x7E},//(U)
108 {0x7C,0x02,0x01,0x02,0x7C},//(V)
109 {0x7E,0x01,0x06,0x01,0x7E},//(W)
110 {0x63,0x14,0x08,0x14,0x63},//(X)
111 {0x70,0x08,0x07,0x08,0x70},//(Y)
112 {0x43,0x45,0x49,0x51,0x61},//(Z)
113 {0x00,0x7F,0x41,0x41,0x00},//([)
114 {0x20,0x10,0x08,0x04,0x02},//(\)
115 {0x00,0x41,0x41,0x7F,0x00},//(])
116 {0x10,0x20,0x40,0x20,0x10},//(^)
117 {0x01,0x01,0x01,0x01,0x01},//(_)
118 {0x00,0x40,0x20,0x10,0x00},//(`)
119 {0x02,0x15,0x15,0x15,0x0F},//(a)
120 {0x7F,0x09,0x11,0x11,0x0E},//(b)
121 {0x0E,0x11,0x11,0x11,0x02},//(c)
122 {0x0E,0x11,0x11,0x09,0x7F},//(d)
123 {0x0E,0x15,0x15,0x15,0x0C},//(e)
124 {0x08,0x3F,0x48,0x40,0x20},//(f)
125 {0x18,0x25,0x25,0x25,0x3E},//(g)
126 {0x7F,0x08,0x10,0x10,0x0F},//(h)
127 {0x00,0x11,0x5F,0x01,0x00},//(i)
128 {0x02,0x01,0x11,0x5E,0x00},//(j)
129 {0x7F,0x04,0x0A,0x11,0x00},//(k)
130 {0x00,0x41,0x7F,0x01,0x00},//(l)
131 {0x1F,0x10,0x0C,0x10,0x0F},//(m)
132 {0x1F,0x08,0x10,0x10,0x0F},//(n)
133 {0x0E,0x11,0x11,0x11,0x0E},//(o)
134 {0x1F,0x14,0x14,0x14,0x08},//(p)
135 {0x08,0x14,0x14,0x14,0x0F},//(q)
136 {0x1F,0x08,0x10,0x10,0x08},//(r)
137 {0x09,0x15,0x15,0x15,0x02},//(s)
138 {0x10,0x7E,0x11,0x01,0x02},//(t)
139 {0x1E,0x01,0x01,0x02,0x1F},//(u)
140 {0x1C,0x02,0x01,0x02,0x1C},//(v)
141 {0x1E,0x01,0x02,0x01,0x1E},//(w)
142 {0x11,0x0A,0x04,0x0A,0x11},//(x)
143 {0x18,0x05,0x05,0x05,0x1E},//(y)
144 {0x11,0x13,0x15,0x19,0x11},//(z)
145 {0x08,0x36,0x41,0x00,0x00},//({)
146 {0x00,0x00,0x7F,0x00,0x00},//(|)
147 {0x00,0x00,0x41,0x36,0x08},//(})
148 {0x08,0x08,0x2A,0x1C,0x08},//(arrowright)
149 {0x08,0x1C,0x2A,0x08,0x08},//(arrowleft)
150
151
152 };
153
154 /*Notused
155 constuint8_tfont_5x7_col_extended[112][6]PROGMEM={
156 {0x18,0x20,0x18,0x04,0x18,0x00},//(~)
157 {0x08,0x08,0x2A,0x1C,0x08},//(arrowup)
158 {0x08,0x1C,0x2A,0x08,0x08},//(arrowdown)
159 */

2017 GitHub, Inc. Terms Privacy Security Status Help Contact GitHub API Training Shop Blog About

Anda mungkin juga menyukai