feat: better distinguishable 7segment characters
This commit is contained in:
parent
ba8924fae1
commit
e198d32b7f
1 changed files with 8 additions and 6 deletions
|
@ -4,12 +4,14 @@
|
|||
#define ALPHABET_SIZE 37
|
||||
#define EEPROM_BASE 42
|
||||
|
||||
// 6
|
||||
// 666
|
||||
// 4 5
|
||||
// 3
|
||||
// 4 5
|
||||
// 333
|
||||
// 1 2
|
||||
// 0
|
||||
uint8_t dispMap[ALPHABET_SIZE+1] = { 0x00, 0x77, 0x24, 0x6b, 0x6d, 0x3c, 0x5d, 0x5f, 0x64, 0x7f, 0x7d, 0x7e, 0x1f, 0x53, 0x2f, 0x5b, 0x5a, 0x57, 0x1e, 0x12, 0x25, 0x3c, 0x13, 0x76, 0x0e, 0x0f, 0x7a, 0x7c, 0x0a, 0x55, 0x1b, 0x07, 0x37, 0x3f, 0x06, 0x3d, 0x63 };
|
||||
// 1 2
|
||||
// 000 7
|
||||
uint8_t dispMap[ALPHABET_SIZE+1] = { 0x00, 0x77, 0x24, 0x6b, 0x6d, 0x3c, 0x5d, 0x5f, 0x64, 0x7f, 0x7d, 0x7e, 0x1f, 0x53, 0x2f, 0x5b, 0x5a, 0x57, 0x1e, 0x43, 0x25, 0x3c, 0x13, 0x76, 0x0e, 0x0f, 0x7a, 0x7c, 0x0a, 0x55, 0x1b, 0x07, 0x37, 0x3f, 0x49, 0x3d, 0x63 };
|
||||
char charMap[ALPHABET_SIZE] = { ' ', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' };
|
||||
uint8_t *pinMap;
|
||||
|
||||
|
|
Loading…
Reference in a new issue