Update root_group for CP 9 compatibility

This commit is contained in:
Paul Cutler 2023-11-03 06:04:01 -05:00
parent 5e04b89db9
commit e143b3971d

View file

@ -66,7 +66,7 @@ text_area.y = 8
# Add the text label to the display
group = displayio.Group()
group.append(text_area)
display.show(group)
display.root_group = group
# Scroll the text and update the animations
x = display.width