Skip to content

Commit bff2e6c

Browse files
authored
Merge pull request #24 from prcutler/root-group-update
Update root_group for CircuitPython 9 compatibility
2 parents 1f17215 + 97d0edd commit bff2e6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/ov5640_pico_st7789.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
bitmap, pixel_shader=ColorConverter(input_colorspace=Colorspace.RGB565_SWAPPED)
8383
)
8484
g.append(tg)
85-
display.show(g)
85+
display.root_group = g
8686

8787
t0 = time.monotonic_ns()
8888
display.auto_refresh = False

examples/ov5640_stopmotion_kaluga1_3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def next_filename(extension="jpg"):
153153

154154
# Blank the whole display, we'll draw what we want with directio
155155
empty_group = displayio.Group()
156-
display.show(empty_group)
156+
display.root_group = empty_group
157157
display.auto_refresh = False
158158
display.refresh()
159159

0 commit comments

Comments
 (0)