Switch example to show text then loop with pass to hold it in place
This commit is contained in:
parent
5ec1c88226
commit
a23e5ff8b5
2 changed files with 4 additions and 2 deletions
|
|
@ -41,8 +41,9 @@ For a board with a built-in display.
|
|||
text_area = label.Label(terminalio.FONT, text=text)
|
||||
text_area.x = 10
|
||||
text_area.y = 10
|
||||
board.DISPLAY.show(text_area)
|
||||
while True:
|
||||
board.DISPLAY.show(text_area)
|
||||
pass
|
||||
|
||||
|
||||
Contributing
|
||||
|
|
|
|||
|
|
@ -7,5 +7,6 @@ text = "Hello world"
|
|||
text_area = label.Label(terminalio.FONT, text=text)
|
||||
text_area.x = 10
|
||||
text_area.y = 10
|
||||
board.DISPLAY.show(text_area)
|
||||
while True:
|
||||
board.DISPLAY.show(text_area)
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue