Skip to content

Commit 166d59a

Browse files
authored
Merge pull request #21 from prcutler/root-group-fix
Update with root_group for CP 9 compatibility
2 parents bf32373 + bd3c62d commit 166d59a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/ssd1327_gamma.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646

4747
g.append(t)
4848

49-
display.show(g)
49+
display.root_group = g
5050

5151
time.sleep(10)

examples/ssd1327_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# Make the display context
3333
splash = displayio.Group()
34-
display.show(splash)
34+
display.root_group = splash
3535

3636
# Draw a background rectangle, but not the full display size
3737
color_bitmap = displayio.Bitmap(

0 commit comments

Comments
 (0)