From e198d32b7f21302bcd0e4ac046459a1d7294d8c2 Mon Sep 17 00:00:00 2001 From: s3lph Date: Mon, 1 May 2023 06:14:58 +0200 Subject: [PATCH] feat: better distinguishable 7segment characters --- include/eepromedit.hpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/include/eepromedit.hpp b/include/eepromedit.hpp index 3daa8f9..d58ffbe 100644 --- a/include/eepromedit.hpp +++ b/include/eepromedit.hpp @@ -4,12 +4,14 @@ #define ALPHABET_SIZE 37 #define EEPROM_BASE 42 -// 6 -// 4 5 -// 3 -// 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 }; +// 666 +// 4 5 +// 4 5 +// 333 +// 1 2 +// 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;