From a23e5ff8b53e74473b2d13036428c5628cd6dd1d Mon Sep 17 00:00:00 2001 From: Justin Triplett Date: Sun, 21 Jul 2019 22:48:09 -0400 Subject: [PATCH] Switch example to show text then loop with pass to hold it in place --- README.rst | 3 ++- examples/display_text_simpletest.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index e79e44c..68dee8a 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/examples/display_text_simpletest.py b/examples/display_text_simpletest.py index b6f0737..13ce617 100644 --- a/examples/display_text_simpletest.py +++ b/examples/display_text_simpletest.py @@ -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