Skip to content

Commit

Permalink
Merge pull request #24 from prcutler/root-group-update
Browse files Browse the repository at this point in the history
Update root_group for CircuitPython 9 compatibility
  • Loading branch information
FoamyGuy authored Nov 2, 2023
2 parents 1f17215 + 97d0edd commit bff2e6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/ov5640_pico_st7789.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
bitmap, pixel_shader=ColorConverter(input_colorspace=Colorspace.RGB565_SWAPPED)
)
g.append(tg)
display.show(g)
display.root_group = g

t0 = time.monotonic_ns()
display.auto_refresh = False
Expand Down
2 changes: 1 addition & 1 deletion examples/ov5640_stopmotion_kaluga1_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def next_filename(extension="jpg"):

# Blank the whole display, we'll draw what we want with directio
empty_group = displayio.Group()
display.show(empty_group)
display.root_group = empty_group
display.auto_refresh = False
display.refresh()

Expand Down

0 comments on commit bff2e6c

Please sign in to comment.