From 7c720f3b0d4489da864ea234cea948a4778d131e Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Mon, 2 Jun 2025 21:09:26 +0200 Subject: [PATCH] Do not show seconds, the serial is not fast enpugh --- buba/animations/dbf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buba/animations/dbf.py b/buba/animations/dbf.py index fec8ea8..59fe971 100644 --- a/buba/animations/dbf.py +++ b/buba/animations/dbf.py @@ -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)