Switch example to show text then loop with pass to hold it in place

This commit is contained in:
Justin Triplett 2019-07-21 22:48:09 -04:00
parent 5ec1c88226
commit a23e5ff8b5
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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