Skip to content

Commit adbbbea

Browse files
committed
Update root_group for CP 9 compatibility
1 parent 8579013 commit adbbbea

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Usage Example
5050
5151
# Make the display context
5252
splash = displayio.Group()
53-
display.show(splash)
53+
display.root_group = splash
5454
5555
color_bitmap = displayio.Bitmap(128, 128, 1)
5656
color_palette = displayio.Palette(1)

examples/ssd1351_128x96_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# Make the display context
2929
splash = displayio.Group()
30-
display.show(splash)
30+
display.root_group = splash
3131

3232
color_bitmap = displayio.Bitmap(128, 96, 1)
3333
color_palette = displayio.Palette(1)

examples/ssd1351_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# Make the display context
2929
splash = displayio.Group()
30-
display.show(splash)
30+
display.root_group = splash
3131

3232
color_bitmap = displayio.Bitmap(128, 128, 1)
3333
color_palette = displayio.Palette(1)

0 commit comments

Comments
 (0)