summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r--firmware/export/lcd.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index f4fa3372cf..c4632a0282 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -143,5 +143,25 @@ extern int lcd_getstringsize(unsigned char *str, int *w, int *h);
143 143
144#endif /* CHARCELLS / BITMAP */ 144#endif /* CHARCELLS / BITMAP */
145 145
146/* These control codes may only work on the Neo LCD display */
147#ifdef HAVE_NEO_LCD
148
149/* Cursor Control Instructions */
150#define LCD_OFFCUR 0x0C
151#define LCD_LINECUR 0x0E
152#define LCD_BLINKCUR 0x0D
153#define LCD_COMBNCUR 0x0F
154#define LCD_HOMECUR 0x02
155#define LCD_SHLFCUR 0x10
156#define LCD_SHRTCUR 0x14
157
158/* Display Control Instructions */
159#define LCD_CLEAR 0x01
160#define LCD_OFFDISP 0x08
161#define LCD_ONDISP 0x0C
162#define LCD_SHLFDISP 0x18
163#define LCD_SHRTDISP 0x1C
164#define LCD_SET_CGRAM 0x40
165#endif
146 166
147#endif /* __LCD_H__ */ 167#endif /* __LCD_H__ */