Skip to content

Commit 6015a6a

Browse files
committed
Update to use root_group for CP 9 compatibility
1 parent 2404ef2 commit 6015a6a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/clue_ams_remote_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
volume_inner = Rect(15, 170, 1, 20, fill=0xFFFFFF, outline=0xFFFFFF)
8585
group.append(volume_inner)
8686

87-
display.show(group)
87+
display.root_group = group
8888
time.sleep(0.01)
8989

9090
width1 = 1

examples/clue_ble_color_patchwork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def change_advertisement(color):
207207
group.append(patchwork_group)
208208

209209
# Add the Group to the Display
210-
display.show(group)
210+
display.root_group = group
211211

212212
cur_color = 0
213213

examples/clue_spirit_level.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
bubble_group.append(level_bubble)
2424

2525
clue_group.append(bubble_group)
26-
display.show(clue_group)
26+
display.root_group = clue_group
2727

2828
while True:
2929
x, y, _ = clue.acceleration

0 commit comments

Comments
 (0)