/* * driver for display modules from Crystalfontz * * Copyright 2000 by Herbert Rosmanith (herp@wildsau.idv.uni-linz.ac.at) * * 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 2, or (at your option) * any later version. * * 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, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ /* see: 634full.pdf, avail. from www.crystalfontz.com * values here are octal */ #define CRYFON_NULL "\000" #define CRYFON_CURSOR_HOME "\001" #define CRYFON_HOME CRYFON_CURSOR_HOME #define CRYFON_HIDE_DISPLAY "\002" #define CRYFON_RESTORE_DISPLAY "\003" #define CRYFON_HIDE_CURSOR "\004" #define CRYFON_SHOW_UL_CURSOR "\005" #define CRYFON_SHOW_BLK_CURSOR "\006" #define CRYFON_SHOW_INV_CURSOR "\007" #define CRYFON_BACKSPACE "\010" /*not used: 9 (tab), 011 octal */ #define CRYFON_LF "\012" #define CRYFON_DEL_IN_PLACE "\013" #define CRYFON_FF "\014" #define CRYFON_CR "\015" #define CRYFON_BACKLIGHT_CTRL "\016" #define CRYFON_CONTRAST_CTRL "\017" /*not used: 16, 020 octal */ #define CRYFON_SET_CURSOR_POS "\021" #define CRYFON_GOTO CRYFON_SET_CURSOR_POS #define CRYFON_HORIZONTAL_BAR "\022" #define CRYFON_SCROLL_ON "\023" #define CRYFON_SCROLL_OFF "\024" #define CRYFON_SET_SCROLL_MARQU "\025" #define CRYFON_ENABLE_SCROLL_MARQU "\026" #define CRYFON_WRAP_ON "\027" #define CRYFON_WRAP_OFF "\030" #define CRYFON_SET_CUSTOM_CHAR_BITMAP "\031" #define CRYFON_REBOOT "\032" #define CRYFON_ESC "\033" #define CRYFON_LARGE_BLK_NUM "\034" /*not used: 29, 035 octal*/ #define CRYFON_SEND_DATA_DIRECT "\036" #define CRYFON_SHOW_INFO "\037" #define CRYFON_CUST_CHAR0 "\200" #define CRYFON_CUST_CHAR1 "\201" #define CRYFON_CUST_CHAR2 "\202" #define CRYFON_CUST_CHAR3 "\203" #define CRYFON_CUST_CHAR4 "\204" #define CRYFON_CUST_CHAR5 "\205" #define CRYFON_CUST_CHAR6 "\206" #define CRYFON_CUST_CHAR7 "\207" =2b538e055ac14d70cc2f5a3e3b3c417e155c53e3'>INSTALL
blob: d3c5b40a94091285c27361905f591af64c1f7b21 (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237