Rev 375 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
331 | cascade | 1 | /**************************************************************************** |
2 | * Copyright (C) 2009 by Claas Anders "CaScAdE" Rathje * |
||
3 | * admiralcascade@gmail.com * |
||
4 | * Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
||
5 | * * |
||
6 | * This program is free software; you can redistribute it and/or modify * |
||
7 | * it under the terms of the GNU General Public License as published by * |
||
8 | * the Free Software Foundation; either version 2 of the License. * |
||
9 | * * |
||
10 | * This program is distributed in the hope that it will be useful, * |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
13 | * GNU General Public License for more details. * |
||
14 | * * |
||
15 | * You should have received a copy of the GNU General Public License * |
||
16 | * along with this program; if not, write to the * |
||
17 | * Free Software Foundation, Inc., * |
||
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
19 | ****************************************************************************/ |
||
20 | |||
21 | /** |
||
22 | * easy char creation: |
||
23 | * http://cascade.dyndns.org/~cascade/scripts/max7456/ |
||
24 | */ |
||
25 | // flashing more than 8 chars per time is not proven to be safe |
||
26 | // so take care |
||
27 | |||
28 | #if WRITECHARS == 200 |
||
29 | // GPS |
||
30 | unsigned char cc8[54] = {0x55, 0x50, 0x55, 0x55, 0x4a, 0x15, 0x55, 0x2a, |
||
31 | 0x85, 0x55, 0x2a, 0xa1, 0x55, 0x4a, 0xa8, 0x55, |
||
32 | 0x52, 0xa8, 0x55, 0x54, 0xaa, 0x55, 0x55, 0x09, |
||
33 | 0x55, 0x55, 0x52, 0x55, 0x55, 0x1a, 0x55, 0x51, |
||
34 | 0x96, 0x55, 0x18, 0x85, 0x54, 0x88, 0x28, 0x54, |
||
35 | 0x82, 0x05, 0x55, 0x20, 0xa1, 0x55, 0x48, 0x15, |
||
36 | 0x55, 0x52, 0x85, 0x55, 0x54, 0x15}; |
||
37 | |||
38 | unsigned char cc9[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
39 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x45, |
||
40 | 0x55, 0x55, 0x21, 0x55, 0x55, 0xa8, 0x55, 0x55, |
||
41 | 0xa1, 0x55, 0x55, 0x98, 0x15, 0x55, 0x2a, 0x85, |
||
42 | 0x55, 0x4a, 0xa1, 0x55, 0x4a, 0xa8, 0x55, 0x52, |
||
43 | 0xaa, 0x15, 0x54, 0xaa, 0x15, 0x55, 0x28, 0x55, |
||
44 | 0x55, 0x41, 0x55, 0x55, 0x55, 0x55}; |
||
45 | |||
46 | // RC |
||
47 | unsigned char cca[54] = {0x54, 0xaa, 0x85, 0x52, 0x00, 0x21, 0x48, 0x2a, |
||
48 | 0x08, 0x60, 0x80, 0x82, 0x62, 0x08, 0x22, 0x62, |
||
49 | 0x2a, 0x22, 0x62, 0x08, 0x22, 0x60, 0x88, 0x82, |
||
50 | 0x48, 0x08, 0x08, 0x52, 0x08, 0x21, 0x54, 0x48, |
||
51 | 0x45, 0x55, 0x48, 0x55, 0x55, 0x48, 0x55, 0x55, |
||
52 | 0x48, 0x55, 0x55, 0x48, 0x55, 0x55, 0x48, 0x55, |
||
53 | 0x55, 0x2a, 0x15, 0x54, 0xaa, 0x85}; |
||
54 | |||
55 | // km/h |
||
56 | unsigned char ccb[54] = {0x55, 0x55, 0x55, 0x01, 0x55, 0x55, 0x21, 0x55, |
||
57 | 0x55, 0x20, 0x15, 0x55, 0x22, 0x15, 0x55, 0x28, |
||
58 | 0x15, 0x55, 0x22, 0x15, 0x55, 0x00, 0x00, 0x15, |
||
59 | 0x52, 0xaa, 0x15, 0x52, 0x22, 0x15, 0x52, 0x22, |
||
60 | 0x15, 0x50, 0x00, 0x05, 0x55, 0x54, 0x85, 0x55, |
||
61 | 0x54, 0x80, 0x55, 0x54, 0xa8, 0x55, 0x54, 0x88, |
||
62 | 0x55, 0x54, 0x88, 0x55, 0x54, 0x00}; |
||
63 | |||
64 | |||
65 | // small meters m |
||
66 | unsigned char ccc[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
67 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
68 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
69 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
70 | 0x55, 0x55, 0x55, 0x55, 0x00, 0x00, 0x15, 0x22, |
||
71 | 0x8a, 0x15, 0x28, 0xa2, 0x15, 0x20, 0x82, 0x15, |
||
72 | 0x20, 0x82, 0x15, 0x00, 0x00, 0x15}; |
||
73 | |||
74 | // vario down |
||
75 | unsigned char ccd[54] = {0x55, 0x00, 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, |
||
76 | 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, |
||
77 | 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, |
||
78 | 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, |
||
79 | 0x55, 0x00, 0x28, 0x00, 0x2a, 0xaa, 0xa8, 0x0a, |
||
80 | 0xaa, 0xa0, 0x42, 0xaa, 0x81, 0x50, 0xaa, 0x05, |
||
81 | 0x54, 0x28, 0x15, 0x55, 0x00, 0x55}; |
||
82 | |||
83 | // vario hold |
||
84 | unsigned char cce[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
85 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
86 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x00, 0x00, 0x00, |
||
87 | 0x2a, 0xaa, 0xa8, 0x2a, 0xaa, 0xa8, 0x00, 0x00, |
||
88 | 0x00, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
89 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
90 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
91 | |||
92 | // vario up |
||
93 | unsigned char ccf[54] = {0x55, 0x00, 0x55, 0x54, 0x28, 0x15, 0x50, 0xaa, |
||
94 | 0x05, 0x42, 0xaa, 0x81, 0x0a, 0xaa, 0xa0, 0x2a, |
||
95 | 0xaa, 0xa8, 0x00, 0x28, 0x00, 0x55, 0x28, 0x55, |
||
96 | 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, |
||
97 | 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, |
||
98 | 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, |
||
99 | 0x55, 0x28, 0x55, 0x55, 0x00, 0x55}; |
||
100 | |||
101 | learn_char(200, cc8); |
||
102 | learn_char(201, cc9); |
||
103 | learn_char(202, cca); |
||
104 | learn_char(203, ccb); |
||
105 | learn_char(204, ccc); |
||
106 | learn_char(205, ccd); |
||
107 | learn_char(206, cce); |
||
108 | learn_char(207, ccf); |
||
109 | #endif |
||
110 | |||
111 | #if WRITECHARS == 208 |
||
112 | // degree symbol |
||
113 | unsigned char cd0[54] = {0x55, 0x55, 0x55, 0x54, 0x01, 0x55, 0x52, 0xa8, |
||
114 | 0x55, 0x48, 0x02, 0x15, 0x48, 0x52, 0x15, 0x48, |
||
115 | 0x52, 0x15, 0x48, 0x02, 0x15, 0x52, 0xa8, 0x55, |
||
116 | 0x54, 0x01, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
117 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
118 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
119 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
120 | |||
121 | // clock on symbol |
||
122 | unsigned char cd1[54] = {0x54, 0x14, 0x51, 0x52, 0x82, 0x08, 0x48, 0x22, |
||
123 | 0x88, 0x48, 0x22, 0x28, 0x48, 0x22, 0x28, 0x52, |
||
124 | 0x82, 0x08, 0x54, 0x14, 0x51, 0x55, 0x40, 0x55, |
||
125 | 0x55, 0x2a, 0x15, 0x54, 0x88, 0x85, 0x52, 0x08, |
||
126 | 0x21, 0x48, 0x48, 0x08, 0x48, 0x4a, 0x88, 0x48, |
||
127 | 0x50, 0x08, 0x52, 0x15, 0x21, 0x54, 0x80, 0x85, |
||
128 | 0x55, 0x2a, 0x15, 0x55, 0x40, 0x55}; |
||
129 | |||
130 | // clock fly symbol |
||
131 | unsigned char cd2[54] = {0x40, 0x45, 0x11, 0x2a, 0x20, 0x88, 0x20, 0x20, |
||
132 | 0x88, 0x28, 0x21, 0x21, 0x21, 0x20, 0x21, 0x21, |
||
133 | 0x2a, 0x21, 0x45, 0x40, 0x45, 0x55, 0x40, 0x55, |
||
134 | 0x55, 0x2a, 0x15, 0x54, 0x88, 0x85, 0x52, 0x08, |
||
135 | 0x21, 0x48, 0x48, 0x08, 0x48, 0x4a, 0x88, 0x48, |
||
136 | 0x50, 0x08, 0x52, 0x15, 0x21, 0x54, 0x80, 0x85, |
||
137 | 0x55, 0x2a, 0x15, 0x55, 0x40, 0x55}; |
||
138 | |||
139 | // compass north |
||
140 | unsigned char cd3[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
141 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x54, |
||
142 | 0x54, 0x55, 0x52, 0x12, 0x15, 0x52, 0x82, 0x15, |
||
143 | 0x02, 0x82, 0x00, 0xa2, 0x22, 0x2a, 0x02, 0x0a, |
||
144 | 0x00, 0x52, 0x0a, 0x15, 0x52, 0x12, 0x15, 0x54, |
||
145 | 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
146 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
147 | |||
148 | // compass south |
||
149 | unsigned char cd4[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
150 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
151 | 0x01, 0x55, 0x54, 0xa8, 0x55, 0x52, 0x02, 0x15, |
||
152 | 0x04, 0x84, 0x40, 0xa1, 0x21, 0x2a, 0x04, 0x48, |
||
153 | 0x40, 0x52, 0x02, 0x15, 0x54, 0xa8, 0x55, 0x55, |
||
154 | 0x01, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
155 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
156 | |||
157 | // compass east |
||
158 | unsigned char cd5[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
159 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x54, |
||
160 | 0x00, 0x55, 0x52, 0xaa, 0x15, 0x52, 0x00, 0x55, |
||
161 | 0x02, 0x05, 0x40, 0xa2, 0xa1, 0x2a, 0x02, 0x05, |
||
162 | 0x40, 0x52, 0x00, 0x55, 0x52, 0xaa, 0x15, 0x54, |
||
163 | 0x00, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
164 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
165 | |||
166 | // compass west |
||
167 | unsigned char cd6[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
168 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x54, |
||
169 | 0x54, 0x55, 0x52, 0x12, 0x15, 0x52, 0x12, 0x15, |
||
170 | 0x02, 0x02, 0x00, 0xa2, 0x22, 0x2a, 0x02, 0x8a, |
||
171 | 0x00, 0x52, 0x8a, 0x15, 0x52, 0x12, 0x15, 0x54, |
||
172 | 0x54, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
173 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
174 | |||
175 | // compass between |
||
176 | unsigned char cd7[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
177 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
178 | 0x55, 0x55, 0x55, 0x45, 0x55, 0x55, 0x21, 0x55, |
||
179 | 0x01, 0x21, 0x00, 0xa8, 0x20, 0xaa, 0x01, 0x21, |
||
180 | 0x00, 0x55, 0x21, 0x55, 0x55, 0x45, 0x55, 0x55, |
||
181 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
182 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
183 | |||
184 | learn_char(208, cd0); |
||
185 | learn_char(209, cd1); |
||
186 | learn_char(210, cd2); |
||
187 | learn_char(211, cd3); |
||
188 | learn_char(212, cd4); |
||
189 | learn_char(213, cd5); |
||
190 | learn_char(214, cd6); |
||
191 | learn_char(215, cd7); |
||
192 | #endif |
||
193 | |||
194 | #if WRITECHARS == 216 |
||
195 | // compass line |
||
196 | unsigned char cd8[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
197 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
198 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
199 | 0x00, 0x00, 0x00, 0xaa, 0xaa, 0xaa, 0x00, 0x00, |
||
200 | 0x00, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
201 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
202 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
203 | |||
204 | // arrow right |
||
205 | unsigned char cd9[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
206 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
207 | 0x55, 0x15, 0x55, 0x54, 0x85, 0x40, 0x00, 0xa1, |
||
208 | 0x2a, 0xaa, 0xa8, 0x2a, 0xaa, 0xa8, 0x40, 0x00, |
||
209 | 0xa1, 0x55, 0x54, 0x85, 0x55, 0x55, 0x15, 0x55, |
||
210 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
211 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
212 | |||
213 | // arrow right-up |
||
214 | unsigned char cda[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
215 | 0x55, 0x55, 0x40, 0x01, 0x55, 0x2a, 0xa8, 0x55, |
||
216 | 0x4a, 0xa8, 0x55, 0x52, 0xa8, 0x55, 0x4a, 0xa8, |
||
217 | 0x55, 0x2a, 0x28, 0x54, 0xa8, 0x48, 0x52, 0xa1, |
||
218 | 0x51, 0x4a, 0x85, 0x55, 0x52, 0x15, 0x55, 0x54, |
||
219 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
220 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
221 | |||
222 | // arrow up |
||
223 | unsigned char cdb[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
224 | 0x55, 0x55, 0x41, 0x55, 0x55, 0x28, 0x55, 0x54, |
||
225 | 0xaa, 0x15, 0x52, 0xaa, 0x85, 0x54, 0x28, 0x15, |
||
226 | 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, |
||
227 | 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, |
||
228 | 0x28, 0x55, 0x55, 0x41, 0x55, 0x55, 0x55, 0x55, |
||
229 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
230 | |||
231 | // arrow left-up |
||
232 | unsigned char cdc[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
233 | 0x55, 0x40, 0x01, 0x55, 0x2a, 0xa8, 0x55, 0x2a, |
||
234 | 0xa1, 0x55, 0x2a, 0x85, 0x55, 0x2a, 0xa1, 0x55, |
||
235 | 0x28, 0xa8, 0x55, 0x21, 0x2a, 0x15, 0x45, 0x4a, |
||
236 | 0x85, 0x55, 0x52, 0xa1, 0x55, 0x54, 0x85, 0x55, |
||
237 | 0x55, 0x15, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
238 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
239 | |||
240 | // arrow left |
||
241 | unsigned char cdd[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
242 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x54, |
||
243 | 0x55, 0x55, 0x52, 0x15, 0x55, 0x4a, 0x00, 0x01, |
||
244 | 0x2a, 0xaa, 0xa8, 0x2a, 0xaa, 0xa8, 0x4a, 0x00, |
||
245 | 0x01, 0x52, 0x15, 0x55, 0x54, 0x55, 0x55, 0x55, |
||
246 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
247 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
248 | |||
249 | // arrow left-down |
||
250 | unsigned char cde[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
251 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x15, 0x55, |
||
252 | 0x54, 0x85, 0x55, 0x52, 0xa1, 0x45, 0x4a, 0x85, |
||
253 | 0x21, 0x2a, 0x15, 0x28, 0xa8, 0x55, 0x2a, 0xa1, |
||
254 | 0x55, 0x2a, 0x85, 0x55, 0x2a, 0xa1, 0x55, 0x2a, |
||
255 | 0xa8, 0x55, 0x40, 0x01, 0x55, 0x55, 0x55, 0x55, |
||
256 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
257 | |||
258 | // arrow down |
||
259 | unsigned char cdf[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
260 | 0x55, 0x55, 0x41, 0x55, 0x55, 0x28, 0x55, 0x55, |
||
261 | 0x28, 0x55, 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, |
||
262 | 0x55, 0x28, 0x55, 0x55, 0x28, 0x55, 0x54, 0x28, |
||
263 | 0x15, 0x52, 0xaa, 0x85, 0x54, 0xaa, 0x15, 0x55, |
||
264 | 0x28, 0x55, 0x55, 0x41, 0x55, 0x55, 0x55, 0x55, |
||
265 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
266 | |||
267 | learn_char(216, cd8); |
||
268 | learn_char(217, cd9); |
||
269 | learn_char(218, cda); |
||
270 | learn_char(219, cdb); |
||
271 | learn_char(220, cdc); |
||
272 | learn_char(221, cdd); |
||
273 | learn_char(222, cde); |
||
274 | learn_char(223, cdf); |
||
275 | #endif |
||
276 | |||
277 | #if WRITECHARS == 224 |
||
278 | // arrow right-down |
||
279 | unsigned char ce0[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
280 | 0x55, 0x55, 0x55, 0x55, 0x54, 0x55, 0x55, 0x52, |
||
281 | 0x15, 0x55, 0x4a, 0x85, 0x55, 0x52, 0xa1, 0x51, |
||
282 | 0x54, 0xa8, 0x48, 0x55, 0x2a, 0x28, 0x55, 0x4a, |
||
283 | 0xa8, 0x55, 0x52, 0xa8, 0x55, 0x4a, 0xa8, 0x55, |
||
284 | 0x2a, 0xa8, 0x55, 0x40, 0x01, 0x55, 0x55, 0x55, |
||
285 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
286 | |||
287 | // horizon up |
||
288 | unsigned char ce1[54] = {0x55, 0x55, 0x55, 0x00, 0x00, 0x00, 0xaa, 0xaa, |
||
289 | 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x00, 0x00, 0x55, |
||
290 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
291 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
292 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
293 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
294 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
295 | |||
296 | // horizon middle |
||
297 | unsigned char ce2[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
298 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
299 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x00, 0x00, 0x00, |
||
300 | 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0x00, 0x00, |
||
301 | 0x00, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
302 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
303 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
304 | |||
305 | // horizon down |
||
306 | unsigned char ce3[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
307 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
308 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
309 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
310 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x00, |
||
311 | 0x00, 0x00, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, |
||
312 | 0x00, 0x00, 0x00, 0x55, 0x55, 0x55}; |
||
313 | |||
314 | // horizon center |
||
315 | unsigned char ce4[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
316 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
317 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
318 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
319 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x00, |
||
320 | 0x14, 0x00, 0xaa, 0x14, 0xaa, 0xaa, 0x82, 0xaa, |
||
321 | 0x00, 0xaa, 0x00, 0x54, 0x00, 0x15}; |
||
322 | |||
323 | // horizon roll |
||
324 | unsigned char ce5[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
325 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
326 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
327 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
328 | 0x55, 0x00, 0x55, 0x00, 0x2a, 0x14, 0xa8, 0x4a, |
||
329 | 0x82, 0xa1, 0x52, 0xaa, 0x85, 0x54, 0xaa, 0x15, |
||
330 | 0x55, 0x28, 0x55, 0x55, 0x41, 0x55}; |
||
331 | |||
332 | // gps PH |
||
333 | unsigned char ce6[54] = {0x55, 0x05, 0x11, 0x54, 0xa0, 0x88, 0x54, 0x88, |
||
334 | 0x88, 0x54, 0xa0, 0xa8, 0x54, 0x84, 0x88, 0x44, |
||
335 | 0x84, 0x88, 0x21, 0x15, 0x11, 0xa8, 0x55, 0x55, |
||
336 | 0xa1, 0x55, 0x55, 0x98, 0x15, 0x55, 0x2a, 0x85, |
||
337 | 0x55, 0x4a, 0xa1, 0x55, 0x4a, 0xa8, 0x55, 0x52, |
||
338 | 0xaa, 0x15, 0x54, 0xaa, 0x15, 0x55, 0x28, 0x55, |
||
339 | 0x55, 0x41, 0x55, 0x55, 0x55, 0x55}; |
||
340 | |||
341 | // gps CH |
||
342 | unsigned char ce7[54] = {0x55, 0x55, 0x41, 0x55, 0x55, 0x28, 0x55, 0x54, |
||
343 | 0x81, 0x55, 0x54, 0x85, 0x55, 0x54, 0x81, 0x45, |
||
344 | 0x55, 0x28, 0x21, 0x55, 0x01, 0xa8, 0x54, 0x88, |
||
345 | 0xa1, 0x54, 0x88, 0x98, 0x14, 0xa8, 0x2a, 0x84, |
||
346 | 0x88, 0x4a, 0xa0, 0x88, 0x4a, 0xa8, 0x11, 0x52, |
||
347 | 0xaa, 0x15, 0x54, 0xaa, 0x15, 0x55, 0x28, 0x55, |
||
348 | 0x55, 0x41, 0x55, 0x55, 0x55, 0x55}; |
||
349 | |||
350 | learn_char(224, ce0); |
||
351 | learn_char(225, ce1); |
||
352 | learn_char(226, ce2); |
||
353 | learn_char(227, ce3); |
||
354 | learn_char(228, ce4); |
||
355 | learn_char(229, ce5); |
||
356 | learn_char(230, ce6); |
||
357 | learn_char(231, ce7); |
||
358 | #endif |
||
359 | |||
360 | #if WRITECHARS == 232 |
||
361 | // small arrow down |
||
362 | unsigned char ce8[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
363 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
364 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x00, 0x00, 0x00, |
||
365 | 0x2a, 0xaa, 0xa8, 0x2a, 0xaa, 0xa8, 0x0a, 0xaa, |
||
366 | 0xa0, 0x52, 0xaa, 0x85, 0x54, 0xaa, 0x15, 0x55, |
||
367 | 0x28, 0x55, 0x55, 0x41, 0x55, 0x55, 0x55, 0x55, |
||
368 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
369 | |||
370 | // big arrow down |
||
371 | unsigned char ce9[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
372 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
373 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x00, 0x00, 0x00, |
||
374 | 0x2a, 0xaa, 0xa8, 0x2a, 0xaa, 0xa8, 0x00, 0x28, |
||
375 | 0x00, 0x55, 0x28, 0x55, 0x40, 0x28, 0x01, 0x2a, |
||
376 | 0xaa, 0xa8, 0x4a, 0xaa, 0xa1, 0x52, 0xaa, 0x85, |
||
377 | 0x54, 0xaa, 0x15, 0x55, 0x28, 0x55}; |
||
378 | |||
379 | // small arrow up |
||
380 | unsigned char cea[54] = {0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
381 | 0x55, 0x55, 0x41, 0x55, 0x55, 0x28, 0x55, 0x54, |
||
382 | 0xaa, 0x15, 0x52, 0xaa, 0x85, 0x0a, 0xaa, 0xa0, |
||
383 | 0x2a, 0xaa, 0xa8, 0x2a, 0xaa, 0xa8, 0x00, 0x00, |
||
384 | 0x00, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
385 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
386 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
387 | |||
388 | // big arrow up |
||
389 | unsigned char ceb[54] = {0x55, 0x28, 0x55, 0x54, 0xaa, 0x15, 0x52, 0xaa, |
||
390 | 0x85, 0x4a, 0xaa, 0xa1, 0x2a, 0xaa, 0xa8, 0x40, |
||
391 | 0x28, 0x01, 0x55, 0x28, 0x55, 0x00, 0x28, 0x00, |
||
392 | 0x2a, 0xaa, 0xa8, 0x2a, 0xaa, 0xa8, 0x00, 0x00, |
||
393 | 0x00, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
394 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, |
||
395 | 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}; |
||
396 | |||
397 | learn_char(232, ce8); |
||
398 | learn_char(233, ce9); |
||
399 | learn_char(234, cea); |
||
400 | learn_char(235, ceb); |
||
401 | #endif |
||
402 |