Badger2040: Add sleep to help and info

This commit is contained in:
Zak Zebrowski 2022-03-12 13:13:44 -05:00 committed by Phil Howard
parent 690c8782d9
commit 8ccfdaf5bd
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import badger2040
import time
from badger2040 import WIDTH
TEXT_SIZE = 0.45
@ -35,3 +36,5 @@ display.text("a - Toggle invert", 0, y, TEXT_SIZE)
y += LINE_HEIGHT
display.update()
while True:
time.sleep(1)

View File

@ -1,4 +1,5 @@
import badger2040
import time
from badger2040 import WIDTH
TEXT_SIZE = 0.45
@ -32,3 +33,6 @@ y += LINE_HEIGHT
display.text("https://pimoroni.com/badger2040", 0, y, TEXT_SIZE)
display.update()
while True:
time.sleep(1)