diff --git a/micropython/examples/badger2040/help.py b/micropython/examples/badger2040/help.py index aabf3f7f..ff6102be 100644 --- a/micropython/examples/badger2040/help.py +++ b/micropython/examples/badger2040/help.py @@ -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) diff --git a/micropython/examples/badger2040/info.py b/micropython/examples/badger2040/info.py index 8dd5b343..94c3b1af 100644 --- a/micropython/examples/badger2040/info.py +++ b/micropython/examples/badger2040/info.py @@ -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)