Badger2040: Add sleep to help and info
This commit is contained in:
parent
690c8782d9
commit
8ccfdaf5bd
|
@ -1,4 +1,5 @@
|
||||||
import badger2040
|
import badger2040
|
||||||
|
import time
|
||||||
from badger2040 import WIDTH
|
from badger2040 import WIDTH
|
||||||
|
|
||||||
TEXT_SIZE = 0.45
|
TEXT_SIZE = 0.45
|
||||||
|
@ -35,3 +36,5 @@ display.text("a - Toggle invert", 0, y, TEXT_SIZE)
|
||||||
y += LINE_HEIGHT
|
y += LINE_HEIGHT
|
||||||
|
|
||||||
display.update()
|
display.update()
|
||||||
|
while True:
|
||||||
|
time.sleep(1)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import badger2040
|
import badger2040
|
||||||
|
import time
|
||||||
from badger2040 import WIDTH
|
from badger2040 import WIDTH
|
||||||
|
|
||||||
TEXT_SIZE = 0.45
|
TEXT_SIZE = 0.45
|
||||||
|
@ -32,3 +33,6 @@ y += LINE_HEIGHT
|
||||||
display.text("https://pimoroni.com/badger2040", 0, y, TEXT_SIZE)
|
display.text("https://pimoroni.com/badger2040", 0, y, TEXT_SIZE)
|
||||||
|
|
||||||
display.update()
|
display.update()
|
||||||
|
|
||||||
|
while True:
|
||||||
|
time.sleep(1)
|
||||||
|
|
Loading…
Reference in New Issue