Skip to content

Commit e931c99

Browse files
committed
ledmatrix_control.py: Add more letters: X, Ä, Ö, Ü
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent cec890c commit e931c99

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

ledmatrix_control.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,6 +1995,14 @@ def convert_font(num):
19951995
0, 1, 0, 1, 0,
19961996
0, 1, 0, 1, 0,
19971997
],
1998+
'X': [
1999+
1, 0, 0, 0, 1,
2000+
0, 1, 0, 1, 0,
2001+
0, 0, 1, 0, 0,
2002+
0, 0, 1, 0, 0,
2003+
0, 1, 0, 1, 0,
2004+
1, 0, 0, 0, 1,
2005+
],
19982006
'Y': [
19992007
1, 0, 0, 0, 1,
20002008
1, 0, 0, 0, 1,
@@ -2011,6 +2019,30 @@ def convert_font(num):
20112019
1, 0, 0, 0, 0,
20122020
1, 1, 1, 1, 1,
20132021
],
2022+
'Ä': [
2023+
0, 1, 0, 1, 0,
2024+
0, 0, 0, 0, 0,
2025+
1, 1, 1, 1, 1,
2026+
1, 0, 0, 0, 1,
2027+
1, 1, 1, 1, 1,
2028+
1, 0, 0, 0, 1,
2029+
],
2030+
'Ö': [
2031+
0, 1, 0, 1, 0,
2032+
0, 0, 0, 0, 0,
2033+
0, 1, 1, 1, 0,
2034+
1, 0, 0, 0, 1,
2035+
1, 0, 0, 0, 1,
2036+
0, 1, 1, 1, 0,
2037+
],
2038+
'Ü': [
2039+
0, 1, 0, 1, 0,
2040+
0, 0, 0, 0, 0,
2041+
1, 0, 0, 0, 1,
2042+
1, 0, 0, 0, 1,
2043+
1, 0, 0, 0, 1,
2044+
1, 1, 1, 1, 1,
2045+
],
20142046
}
20152047
if num in font:
20162048
return font[num]

0 commit comments

Comments
 (0)