v.0.8.3 display clear_cox
This commit is contained in:
6
main.py
6
main.py
@@ -35,10 +35,12 @@ async def print_time_task() -> None:
|
||||
bottom_ypos = display.MATRIX_HEIGHT - display.font_height
|
||||
|
||||
time_str: str = get_datetime_string("time")
|
||||
display.clear_row(bottom_ypos)
|
||||
display.clear_box(bottom_ypos, 0, bottom_ypos + display.font_height, 38)
|
||||
|
||||
# display.clear_row(bottom_ypos)
|
||||
display.write_text(time_str[:8], 0, bottom_ypos, color=colors.NEON_YELLOW)
|
||||
|
||||
await asyncio.sleep(10)
|
||||
await asyncio.sleep(5)
|
||||
|
||||
|
||||
async def sync_ntp_time_task() -> None:
|
||||
|
||||
Reference in New Issue
Block a user