diff --git a/app/display/fonts/font_3x5.py b/app/display/fonts/font_3x5.py index a305891..4a3ef36 100644 --- a/app/display/fonts/font_3x5.py +++ b/app/display/fonts/font_3x5.py @@ -100,4 +100,16 @@ font_3x5 = { '}': [0x06, 0x02, 0x03, 0x02, 0x06], '~': [0x00, 0x05, 0x0A, 0x00, 0x00], '°': [0x02, 0x05, 0x02, 0x00, 0x00], + + # DEUTSCHE UMLAUTE - Großbuchstaben + 'Ä': [0x05, 0x02, 0x05, 0x07, 0x05], # A mit Umlautpunkten + 'Ö': [0x05, 0x07, 0x05, 0x05, 0x07], # O mit Umlautpunkten + 'Ü': [0x05, 0x05, 0x05, 0x05, 0x07], # U mit Umlautpunkten + 'ẞ': [0x07, 0x05, 0x07, 0x05, 0x05], # Scharfes S (Groß) + + # DEUTSCHE UMLAUTE - Kleinbuchstaben + 'ä': [0x05, 0x00, 0x07, 0x05, 0x07], # a mit Umlautpunkten + 'ö': [0x05, 0x00, 0x07, 0x05, 0x07], # o mit Umlautpunkten + 'ü': [0x05, 0x00, 0x05, 0x05, 0x07], # u mit Umlautpunkten + 'ß': [0x06, 0x05, 0x06, 0x04, 0x04], # scharfes s (Klein) } diff --git a/app/tryout/weather_checker.py b/app/tryout/weather_checker.py index 77b404f..ca73ed0 100644 --- a/app/tryout/weather_checker.py +++ b/app/tryout/weather_checker.py @@ -15,7 +15,7 @@ class Weather_Checker(): def __init__(self, display: NeoPixel_64x64): self.display = display - self.display.set_font( font=fonts.font_5x7) + self.display.set_font( font=fonts.font_16x16) def mock_weather_data(self): filepath = 'restapi/mock-weather.json' diff --git a/main.py b/main.py index 8a14304..d1785e7 100644 --- a/main.py +++ b/main.py @@ -18,6 +18,6 @@ if __name__ == '__main__': # tryout.weather_check(display, test_mode=False) weather_checker: Weather_Checker = Weather_Checker( display=display) - weather_checker.check(city="miami", lang="de", test_mode=False) + weather_checker.check(city="esbjerg", lang="de", test_mode=False) # show_system_load()