v.0.9.0 DigitalClock: optimzed update the display

This commit is contained in:
tiijay
2025-11-19 16:45:37 +00:00
parent f9e0e6b74b
commit c20625278d
3 changed files with 123 additions and 66 deletions

View File

@@ -32,9 +32,8 @@ async def print_time_task() -> None:
digitalClock: DigitalClock = DigitalClock(display, 0, bottom_ypos)
while True:
dt1: str = get_datetime_string()
dt2: str = get_german_datetime()
simpleCnt += 1
print(f"print_time_task running... {simpleCnt.value % 16} {dt1} {dt2}")
print(f"print_time_task running... {simpleCnt.value % 16} {dt1}")
await digitalClock.tick()
await asyncio.sleep(2)