-
Notifications
You must be signed in to change notification settings - Fork 4
/
Display_Font.h
46 lines (43 loc) · 1.58 KB
/
Display_Font.h
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
/***************************************************************************************************************************/
/*
7 Segment Font
Store this lookup table in flash (program) memory instead of SRAM
Segment order = Dp, A, B, C, D, E, F, G
*/
/***************************************************************************************************************************/
const PROGMEM uint8_t Char_Set[] = {
// Characters 0-F Op-code
0b01111110, // 0x00 - '0'
0b00110000, // 0x01 - '1'
0b01101101, // 0x02 - '2'
0b01111001, // 0x03 - '3'
0b00110011, // 0x04 - '4'
0b01011011, // 0x05 - '5'
0b01011111, // 0x06 - '6'
0b01110000, // 0x07 - '7'
0b01111111, // 0x08 - '8'
0b01111011, // 0x09 - '9'
0b01110111, // 0x0A - 'A'
0b00011111, // 0x0B - 'B'
0b01001110, // 0x0C - 'C'
0b00111101, // 0x0D - 'D'
0b01001111, // 0x0E - 'E'
0b01000111, // 0x0F - 'F'
// Other Characters
0b00000000, // 0x10 - 'Blank'
0b01000011, // 0x11 - 'c no dp'
0b11000011, // 0x12 - 'c with dp'
0b01000000, // 0x13 - '-'
0b00000001, // 0x14 - '-'
0b00001000, // 0x15 - '-'
0b00110111, // 0x16 - 'H'
0b00001110, // 0x17 - 'L'
0b01110110, // 0x18 - 'N'
0b01100111, // 0x19 - 'P'
0b00111011, // 0x1A - 'Y'
0b01100011, // 0x1B - '''
0b00111110, // 0x1C - 'V'
0b00011101, // 0x1D - 'o'
0b00001111, // 0x1F - 't'
0b00000000 // 'blank'
};