diff --git a/examples/stmpe610_button_demo.py b/examples/stmpe610_button_demo.py index db3c71c..b73f4ed 100755 --- a/examples/stmpe610_button_demo.py +++ b/examples/stmpe610_button_demo.py @@ -61,7 +61,7 @@ # Create the displayio group and show it splash = displayio.Group() -display.show(splash) +display.root_group = splash # Defiine the button button = Button( diff --git a/examples/stmpe610_touch_calibrator.py b/examples/stmpe610_touch_calibrator.py index d175e71..955552b 100755 --- a/examples/stmpe610_touch_calibrator.py +++ b/examples/stmpe610_touch_calibrator.py @@ -89,7 +89,7 @@ # Activate the display graphics unless REPL_ONLY=True. if not REPL_ONLY: display_group = displayio.Group() - display.show(display_group) + display.root_group = display_group # Instantiate touchscreen. ts_cs = digitalio.DigitalInOut(board.D6)