sseg: fix code for F and add N

This commit is contained in:
Thomas Kolb 2024-05-18 00:07:55 +02:00
parent 0de66a4f7b
commit f89d7561ac
2 changed files with 7 additions and 2 deletions

View file

@ -4,11 +4,12 @@ Z: 11011010 0011 1101 0x3C
A: 11101110 0111 0111 0x77
M: 11101100 0111 0110 0x76
O: 11111100 0111 1110 0x7E
F: 10001110 0001 0111 0x47
F: 10001110 0001 0111 0x17
#: 01101100 0110 0110 0x66 note: two vertical lines only
|: 00001100 0000 0110 0x06
d: 01111010 0110 1101 0x6D
H: 01101110 0110 0111 0x67
N: 00101010 0100 0101 0x45
0: 11111100 0111 1110 0x7E
1: 01100000 0110 0000 0x60

View file

@ -81,7 +81,7 @@ static uint8_t ascii_to_sseg(char c)
case 'f':
case 'F':
return 0x47;
return 0x17;
case '#':
return 0x66;
@ -99,6 +99,10 @@ static uint8_t ascii_to_sseg(char c)
case 'H':
return 0x67;
case 'n':
case 'N':
return 0x45;
case ' ':
return 0x00;