Do not show seconds, the serial is not fast enpugh

This commit is contained in:
Stefan Bethke 2025-06-02 21:09:26 +02:00
commit 7c720f3b0d

View file

@ -122,6 +122,6 @@ class DBFAnimation(BubaAnimation):
self.buba.text(page=0, row=i + 1, col_start=105, col_end=119,
text=str(when), align=BubaCmd.ALIGN_RIGHT)
self.buba.set_page(0)
for i in range(10):
self.buba.text(page=0, row=0, col_start=93, col_end=119, text=datetime.datetime.now().strftime("%H:%M:%S"), align=BubaCmd.ALIGN_RIGHT)
sleep(1)
for i in range(5):
self.buba.text(page=0, row=0, col_start=93, col_end=119, text=datetime.datetime.now().strftime("%H:%M"), align=BubaCmd.ALIGN_RIGHT)
sleep(2)