Skip to content

Commit bd41d64

Browse files
authored
Merge pull request #42 from adafruit/dhalbert-patch-1
replace .show() in README.rst
2 parents f772584 + 4afffac commit bd41d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Usage Example
8080
8181
8282
# Create the labels
83-
funhouse.display.show(None)
83+
funhouse.display.root_group = None
8484
slider_label = funhouse.add_text(
8585
text="Slider:", text_position=(50, 30), text_color=0x606060
8686
)
@@ -112,7 +112,7 @@ Usage Example
112112
pres_label = funhouse.add_text(
113113
text="Pres:", text_position=(50, 60), text_color=0xFF00FF
114114
)
115-
funhouse.display.show(funhouse.splash)
115+
funhouse.display.root_group = funhouse.splash
116116
117117
while True:
118118
funhouse.set_text("Temp %0.1F" % dps310.temperature, temp_label)

0 commit comments

Comments
 (0)