Files
lcdproc/server/drivers/Olimex_MOD_LCD1x9_font.h
T
Harald Geyer da6ab836e1 New driver for Olimex MOD-LCD1x9
This adds minimal support for the display - including a 14 segment font.
(Looks like this is the first 14 segment display to be supported by
lcdproc.)

Tested on linux.

Signed-off-by: Harald Geyer <harald@ccbib.org>
2016-08-02 20:14:47 +02:00

132 lines
2.1 KiB
C

#ifndef OLIMEX_LCD1x9_FONT_H
#define OLIMEX_LCD1x9_FONT_H
uint16_t olimex1x9_font[256] = {
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000,
0x0000, /* ' ' */
0x9800, /* '!' */
0x0101, /* '"' */
0x5054, /* '#' -- use this for a degree sign */
0x0000, /* '$' */
0x0000, /* '%' */
0x0000, /* '&' */
0x0100, /* ''' */
0x0096, /* '(' */
0x9090, /* ')' */
0x6761, /* '*' */
0x4640, /* '+' */
0x0020, /* ',' */
0x4040, /* '-' */
0x0800, /* '.' */
0x0120, /* '/' */
0x9096, /* '0' */
0x9000, /* '1' */
0x50d2, /* '2' */
0xd0d0, /* '3' */
0xd044, /* '4' */
0xc0d4, /* '5' */
0xc0d6, /* '6' */
0x9010, /* '7' */
0xd0d6, /* '8' */
0xd0d4, /* '9' */
0x0800, /* ':' same as '.' */
0x0000, /* ';' */
0x2100, /* '<' */
0x0000, /* '=' */
0x0021, /* '>' */
0x0000, /* '?' */
0xffff, /* '@' */
0xd056, /* 'A' */
0x21d6, /* 'B' */
0x0096, /* 'C' */
0x0027, /* 'D' */
0x00d6, /* 'E' */
0x4056, /* 'F' */
0xc0d6, /* 'G' */
0xd046, /* 'H' */
0x0688, /* 'I' */
0x9080, /* 'J' */
0x2146, /* 'K' */
0x0086, /* 'L' */
0x9107, /* 'M' */
0xb007, /* 'N' */
0x9096, /* 'O' */
0x5056, /* 'P' */
0xb096, /* 'Q' */
0x7056, /* 'R' */
0xc0d4, /* 'S' */
0x0610, /* 'T' */
0x9086, /* 'U' */
0x0126, /* 'V' */
0xb026, /* 'W' */
0x2121, /* 'X' */
0xd0c4, /* 'Y' */
0x01b0, /* 'Z' */
0x0096, /* '[' */
0x2001, /* '\' */
0x9090, /* ']' */
0x0010, /* '^' */
0x0080, /* '_' */
0x0400, /* '`' */
0x02c2, /* 'a' */
0xc0c6, /* 'b' */
0x00c2, /* 'c' */
0xd0c2, /* 'd' */
0x00e2, /* 'e' */
0x0056, /* 'f' */
0xe080, /* 'g' */
0xc046, /* 'h' */
0x8000, /* 'i' */
0x9080, /* 'j' */
0x6046, /* 'k' */
0x0026, /* 'l' */
0xc242, /* 'm' */
0xc042, /* 'n' */
0xc0c2, /* 'o' */
0x5056, /* 'p' */
0xd054, /* 'q' */
0x0042, /* 'r' */
0x6080, /* 's' */
0x00c6, /* 't' */
0x8082, /* 'u' */
0x0022, /* 'v' */
0xa022, /* 'w' */
0x2121, /* 'x' */
0xa080, /* 'y' */
0x00e0, /* 'z' */
0x0000
};
#endif