Files
weather-info/main.py
2025-11-13 18:17:25 +01:00

25 lines
788 B
Python

from app.display import NeoPixel_64x64
from app.display.fonts import font_5x7
from app.tryout import Font_Checker, Weather_Checker, Emoji_Checker
from app.utils import show_system_load
from app.web import Wlan
# Programm Startpunkt
if __name__ == '__main__':
display = NeoPixel_64x64()
wlan: Wlan = Wlan( )
wlan.connect( ssid="Wokwi-Wlan", password="12345678")
# font_checker : Font_Checker = Font_Checker( display)
# font_checker.fonts_check(pretty=False)
# emoji_checker : Emoji_Checker = Emoji_Checker(display)
# emoji_checker.check()
# tryout.weather_check(display, test_mode=False)
display.set_font(font_5x7)
weather_checker: Weather_Checker = Weather_Checker( display=display)
weather_checker.check(city="Columbus", lang="de", test_mode=False)
# show_system_load()