diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 88bca9f..255dafd 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -12,7 +12,7 @@ sphinx: configuration: docs/conf.py build: - os: ubuntu-20.04 + os: ubuntu-lts-latest tools: python: "3" diff --git a/README.rst b/README.rst index 27c4b60..995c096 100644 --- a/README.rst +++ b/README.rst @@ -120,7 +120,7 @@ Usage Example pres_label = funhouse.add_text( text="Pres:", text_position=(50, 60), text_color=0xFF00FF ) - funhouse.display.root_group = funhouse.splash + funhouse.display.root_group = funhouse.root_group while True: funhouse.set_text("Temp %0.1F" % dps310.temperature, temp_label) diff --git a/examples/funhouse_simpletest.py b/examples/funhouse_simpletest.py index 4eb770e..f34a0a2 100644 --- a/examples/funhouse_simpletest.py +++ b/examples/funhouse_simpletest.py @@ -45,7 +45,7 @@ def set_label_color(conditional, index, on_color): jst3_label = funhouse.add_text(text="SENSOR 3", text_position=(40, 110), text_color=0x606060) temp_label = funhouse.add_text(text="Temp:", text_position=(50, 45), text_color=0xFF00FF) pres_label = funhouse.add_text(text="Pres:", text_position=(50, 60), text_color=0xFF00FF) -funhouse.display.root_group = funhouse.splash +funhouse.display.root_group = funhouse.root_group while True: funhouse.set_text("Temp %0.1F" % funhouse.peripherals.temperature, temp_label)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: