Skip to content

Commit

Permalink
Merge pull request #26 from prcutler/root-group-fix
Browse files Browse the repository at this point in the history
Update root_group for CP 9 compatibility
  • Loading branch information
dhalbert committed Nov 3, 2023
2 parents a540316 + 29f7161 commit 824435b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/ov2640_bmp_sd_kaluga1_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
),
)
g.append(tg)
display.show(g)
display.root_group = g


sd_spi = busio.SPI(clock=board.IO18, MOSI=board.IO14, MISO=board.IO17)
Expand Down
2 changes: 1 addition & 1 deletion examples/ov2640_displayio_kaluga1_3_ili9341.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
),
)
g.append(tg)
display.show(g)
display.root_group = g

display.auto_refresh = False
while True:
Expand Down
2 changes: 1 addition & 1 deletion examples/ov2640_displayio_kaluga1_3_ili9341_ulab.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
),
)
g.append(tg)
display.show(g)
display.root_group = g

display.auto_refresh = False
while True:
Expand Down
2 changes: 1 addition & 1 deletion examples/ov2640_displayio_kaluga1_3_st7789.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
),
)
g.append(tg)
display.show(g)
display.root_group = g

display.auto_refresh = False
while True:
Expand Down
2 changes: 1 addition & 1 deletion examples/ov2640_displayio_pico_st7789_2in.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
bitmap, pixel_shader=ColorConverter(input_colorspace=Colorspace.BGR565_SWAPPED)
)
g.append(tg)
display.show(g)
display.root_group = g

display.auto_refresh = False
while True:
Expand Down
2 changes: 1 addition & 1 deletion examples/ov2640_jpeg_sd_kaluga1_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
),
)
g.append(tg)
display.show(g)
display.root_group = g

display.auto_refresh = False

Expand Down
2 changes: 1 addition & 1 deletion examples/ov2640_jpeg_sd_pico_st7789_2in.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
bitmap, pixel_shader=ColorConverter(input_colorspace=Colorspace.RGB565_SWAPPED)
)
g.append(tg)
display.show(g)
display.root_group = g

display.auto_refresh = False

Expand Down

0 comments on commit 824435b

Please sign in to comment.