diff options
Diffstat (limited to 'apps/neo/lcd-charset.h')
-rw-r--r-- | apps/neo/lcd-charset.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/apps/neo/lcd-charset.h b/apps/neo/lcd-charset.h new file mode 100644 index 0000000000..24e3b223c2 --- /dev/null +++ b/apps/neo/lcd-charset.h @@ -0,0 +1,46 @@ +#define CGRAM0 0x00 +#define CGRAM1 0x01 +#define CGRAM2 0x02 +#define CGRAM3 0x03 +#define CGRAM4 0x04 +#define CGRAM5 0x05 +#define CGRAM6 0x06 +#define CGRAM7 0x07 + +#define CGRAM0_CHAR 0x10 +#define CGRAM1_CHAR 0x11 +#define CGRAM2_CHAR 0x12 +#define CGRAM3_CHAR 0x13 +#define CGRAM4_CHAR 0x14 +#define CGRAM5_CHAR 0x15 +#define CGRAM6_CHAR 0x16 +#define CGRAM7_CHAR 0x17 + +#define RESERVED_CHAR 0xff +#define NOCHAR_OLD 0x24 +#define UNKNOWN_CHAR 0x3f + +#define LARROW_CHAR 0x1e +#define RARROW_CHAR 0x1f +#define FULLGRID_CHAR 0x7f + +#define BACKSLASH_LCD CGRAM0 +#define RARROW_LCD 0x7e +#define LARROW_LCD 0x7f +#define FULLGRID_LCD 0xff + +#define PROGRESS1_LCD CGRAM1 +#define PROGRESS2_LCD CGRAM2 +#define PROGRESS3_LCD CGRAM3 +#define PROGRESS4_LCD CGRAM4 +#define PROGRESS5_LCD FULLGRID_LCD + +#define PROGRESS1_CHAR CGRAM1_CHAR +#define PROGRESS2_CHAR CGRAM2_CHAR +#define PROGRESS3_CHAR CGRAM3_CHAR +#define PROGRESS4_CHAR CGRAM4_CHAR +#define PROGRESS5_CHAR FULLGRID_CHAR + + +extern unsigned char latin1_to_lcd[256]; + |