|
@@ -144,16 +144,45 @@
|
144
|
144
|
#endif
|
145
|
145
|
#else //no panel but just LCD
|
146
|
146
|
#ifdef ULTRA_LCD
|
147
|
|
- #ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
|
148
|
|
- #define LCD_WIDTH 22
|
149
|
|
- #define LCD_HEIGHT 5
|
150
|
|
- #else
|
151
|
|
- #define LCD_WIDTH 16
|
152
|
|
- #define LCD_HEIGHT 2
|
153
|
|
- #endif
|
|
147
|
+ #ifdef DOGLCD // Change number of lines to match the 128x64 graphics display
|
|
148
|
+ #define LCD_WIDTH 22
|
|
149
|
+ #define LCD_HEIGHT 5
|
|
150
|
+ #else
|
|
151
|
+ #define LCD_WIDTH 16
|
|
152
|
+ #define LCD_HEIGHT 2
|
|
153
|
+ #endif
|
154
|
154
|
#endif
|
155
|
155
|
#endif
|
156
|
156
|
|
|
157
|
+ #ifdef DOGLCD
|
|
158
|
+ /* Custom characters defined in font font_6x10_marlin_symbols */
|
|
159
|
+ // \x00 intentionally skipped to avoid problems in strings
|
|
160
|
+ #define LCD_STR_REFRESH "\x01"
|
|
161
|
+ #define LCD_STR_FOLDER "\x02"
|
|
162
|
+ #define LCD_STR_ARROW_RIGHT "\x03"
|
|
163
|
+ #define LCD_STR_UPLEVEL "\x04"
|
|
164
|
+ #define LCD_STR_CLOCK "\x05"
|
|
165
|
+ #define LCD_STR_FEEDRATE "\x06"
|
|
166
|
+ #define LCD_STR_BEDTEMP "\x07"
|
|
167
|
+ #define LCD_STR_THERMOMETER "\x08"
|
|
168
|
+ #define LCD_STR_DEGREE "\x09"
|
|
169
|
+
|
|
170
|
+ #define LCD_STR_SPECIAL_MAX '\x09'
|
|
171
|
+ // Maximum here is 0x1f because 0x20 is ' ' (space) and the normal charsets begin.
|
|
172
|
+ // Better stay below 0x10 because DISPLAY_CHARSET_HD44780_WESTERN begins here.
|
|
173
|
+ #else
|
|
174
|
+ /* Custom characters defined in the first 8 characters of the LCD */
|
|
175
|
+ #define LCD_STR_BEDTEMP "\x00" // this will have 'unexpected' results when used in a string!
|
|
176
|
+ #define LCD_STR_DEGREE "\x01"
|
|
177
|
+ #define LCD_STR_THERMOMETER "\x02"
|
|
178
|
+ #define LCD_STR_UPLEVEL "\x03"
|
|
179
|
+ #define LCD_STR_REFRESH "\x04"
|
|
180
|
+ #define LCD_STR_FOLDER "\x05"
|
|
181
|
+ #define LCD_STR_FEEDRATE "\x06"
|
|
182
|
+ #define LCD_STR_CLOCK "\x07"
|
|
183
|
+ #define LCD_STR_ARROW_RIGHT ">" /* from the default character set */
|
|
184
|
+ #endif
|
|
185
|
+
|
157
|
186
|
/**
|
158
|
187
|
* Default LCD contrast for dogm-like LCD displays
|
159
|
188
|
*/
|