Update with root_group for CP 9 compatibility
This commit is contained in:
parent
4e87430b71
commit
f1dc25170e
2 changed files with 2 additions and 2 deletions
|
|
@ -97,7 +97,7 @@ Usage Example
|
|||
# t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
|
||||
g.append(t)
|
||||
|
||||
display.show(g)
|
||||
display.root_group = g
|
||||
|
||||
display.refresh()
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ with open("/display-ruler.bmp", "rb") as f:
|
|||
g.append(t)
|
||||
|
||||
# Place the display group on the screen (does not refresh)
|
||||
display.show(g)
|
||||
display.root_group = g
|
||||
|
||||
# Show the image on the display
|
||||
display.refresh()
|
||||
|
|
|
|||
Loading…
Reference in a new issue