Skip to content

Commit e429a52

Browse files
authored
Merge pull request #19 from prcutler/main
Update with root_group for CP 9 compatibility
2 parents cd82126 + d7727cc commit e429a52

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/ov7670_displayio_gcm4_tftshield18.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def deinit(self):
9292
),
9393
)
9494
g.append(tg)
95-
display.show(g)
95+
display.root_group = g
9696

9797
t0 = time.monotonic_ns()
9898
display.auto_refresh = False

examples/ov7670_displayio_kaluga1_3_ili9341.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
),
7272
)
7373
g.append(tg)
74-
display.show(g)
74+
display.root_group = g
7575

7676
t0 = time.monotonic_ns()
7777
display.auto_refresh = False

examples/ov7670_displayio_pico_st7789_2in.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
bitmap, pixel_shader=ColorConverter(input_colorspace=Colorspace.RGB565_SWAPPED)
9393
)
9494
g.append(tg)
95-
display.show(g)
95+
display.root_group = g
9696

9797
t0 = time.monotonic_ns()
9898
display.auto_refresh = False

0 commit comments

Comments
 (0)