Do not show seconds, the serial is not fast enpugh
Some checks failed
docker-image / docker (push) Has been cancelled
Some checks failed
docker-image / docker (push) Has been cancelled
This commit is contained in:
parent
ddcb5598a0
commit
5a73d4f1c8
1 changed files with 3 additions and 3 deletions
|
@ -122,6 +122,6 @@ class DBFAnimation(BubaAnimation):
|
||||||
self.buba.text(page=0, row=i + 1, col_start=105, col_end=119,
|
self.buba.text(page=0, row=i + 1, col_start=105, col_end=119,
|
||||||
text=str(when), align=BubaCmd.ALIGN_RIGHT)
|
text=str(when), align=BubaCmd.ALIGN_RIGHT)
|
||||||
self.buba.set_page(0)
|
self.buba.set_page(0)
|
||||||
for i in range(10):
|
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:%S"), align=BubaCmd.ALIGN_RIGHT)
|
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(1)
|
sleep(2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue