diff --git a/README.rst b/README.rst index eb2fe43..3d93f18 100644 --- a/README.rst +++ b/README.rst @@ -95,7 +95,7 @@ Usage Example text_anchor_point=(0.5, 0.5), text_color=0x606060, ) - esp32s2tft.display.show(esp32s2tft.splash) + esp32s2tft.display.root_group = esp32s2tft.splash while True: esp32s2tft.set_text_color( diff --git a/examples/esp32s2tft_simpletest.py b/examples/esp32s2tft_simpletest.py index 29a3f68..5864512 100644 --- a/examples/esp32s2tft_simpletest.py +++ b/examples/esp32s2tft_simpletest.py @@ -26,7 +26,7 @@ text_anchor_point=(0.5, 0.5), text_color=0x606060, ) -esp32s2tft.display.show(esp32s2tft.splash) +esp32s2tft.display.root_group = esp32s2tft.splash while True: esp32s2tft.set_text_color(