fix(rom): extend 7-segment alphabet

Add "c", "a", "d" and "s", "k", "y" to the 7-segment encoding dictionary, make "H" and "I" uppercase (so IHP is rendered uppercase and not lowercase)
This commit is contained in:
Uri Shaked
2025-09-08 15:44:27 +03:00
parent ef2b0de84b
commit 9024d9ff0e
+9 -6
View File
@@ -33,16 +33,19 @@ segment_font = {
"D": 0b01011110, "D": 0b01011110,
"E": 0b01111001, "E": 0b01111001,
"F": 0b01110001, "F": 0b01110001,
"f": 0b01110001,
"h": 0b01110100,
"i": 0b00010000,
"o": 0b01011100,
"p": 0b01110011,
"t": 0b01111000,
"a": 0b01110111, "a": 0b01110111,
"b": 0b01111100, "b": 0b01111100,
"c": 0b01011000, "c": 0b01011000,
"d": 0b01011110, "d": 0b01011110,
"f": 0b01110001,
"h": 0b01110110, # Actually uppercase H
"i": 0b00110000, # Actually uppercase I
"k": 0b01110101,
"o": 0b01011100,
"p": 0b01110011,
"s": 0b01101101,
"t": 0b01111000,
"y": 0b01101110,
} }