v.0.6.2 Umlaute font_3x5
This commit is contained in:
@@ -100,4 +100,16 @@ font_3x5 = {
|
|||||||
'}': [0x06, 0x02, 0x03, 0x02, 0x06],
|
'}': [0x06, 0x02, 0x03, 0x02, 0x06],
|
||||||
'~': [0x00, 0x05, 0x0A, 0x00, 0x00],
|
'~': [0x00, 0x05, 0x0A, 0x00, 0x00],
|
||||||
'°': [0x02, 0x05, 0x02, 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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class Weather_Checker():
|
|||||||
|
|
||||||
def __init__(self, display: NeoPixel_64x64):
|
def __init__(self, display: NeoPixel_64x64):
|
||||||
self.display = display
|
self.display = display
|
||||||
self.display.set_font( font=fonts.font_5x7)
|
self.display.set_font( font=fonts.font_16x16)
|
||||||
|
|
||||||
def mock_weather_data(self):
|
def mock_weather_data(self):
|
||||||
filepath = 'restapi/mock-weather.json'
|
filepath = 'restapi/mock-weather.json'
|
||||||
|
|||||||
2
main.py
2
main.py
@@ -18,6 +18,6 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
# tryout.weather_check(display, test_mode=False)
|
# tryout.weather_check(display, test_mode=False)
|
||||||
weather_checker: Weather_Checker = Weather_Checker( display=display)
|
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()
|
# show_system_load()
|
||||||
|
|||||||
Reference in New Issue
Block a user