Skip to content

Commit 3406fbb

Browse files
authored
Merge pull request #15 from RetiredWizard/main
Replace depreciated .show()
2 parents e9bbd0a + bbffdbd commit 3406fbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_simple_text_display.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ def add_text_line(
204204

205205
def show(self) -> None:
206206
"""Call show() to display the data list."""
207-
self._display.show(self.text_group)
207+
self._display.root_group = self.text_group
208208

209209
def show_terminal(self) -> None:
210210
"""Revert to terminalio screen."""
211-
self._display.show(None)
211+
self._display.root_group = displayio.CIRCUITPYTHON_TERMINAL

0 commit comments

Comments
 (0)