Update root_group for CP 9 compatibility

This commit is contained in:
Paul Cutler 2023-11-02 19:52:53 -05:00
parent a54031632a
commit 29f7161faf
7 changed files with 7 additions and 7 deletions

View file

@ -109,7 +109,7 @@ tg = displayio.TileGrid(
),
)
g.append(tg)
display.show(g)
display.root_group = g
sd_spi = busio.SPI(clock=board.IO18, MOSI=board.IO14, MISO=board.IO17)

View file

@ -62,7 +62,7 @@ tg = displayio.TileGrid(
),
)
g.append(tg)
display.show(g)
display.root_group = g
display.auto_refresh = False
while True:

View file

@ -67,7 +67,7 @@ tg = displayio.TileGrid(
),
)
g.append(tg)
display.show(g)
display.root_group = g
display.auto_refresh = False
while True:

View file

@ -65,7 +65,7 @@ tg = displayio.TileGrid(
),
)
g.append(tg)
display.show(g)
display.root_group = g
display.auto_refresh = False
while True:

View file

@ -76,7 +76,7 @@ tg = TileGrid(
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:

View file

@ -80,7 +80,7 @@ tg = displayio.TileGrid(
),
)
g.append(tg)
display.show(g)
display.root_group = g
display.auto_refresh = False

View file

@ -102,7 +102,7 @@ tg = TileGrid(
bitmap, pixel_shader=ColorConverter(input_colorspace=Colorspace.RGB565_SWAPPED)
)
g.append(tg)
display.show(g)
display.root_group = g
display.auto_refresh = False