Skip to content

Commit

Permalink
Merge pull request #36 from prcutler/root-group-fix
Browse files Browse the repository at this point in the history
Update root_group for CP 9 compatibility
  • Loading branch information
dhalbert authored Nov 3, 2023
2 parents be1e989 + e062bab commit 0ab1e80
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/displayio_ssd1306_64x32_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# Make the display context
splash = displayio.Group()
display.show(splash)
display.root_group = splash

color_bitmap = displayio.Bitmap(64, 32, 1)
color_palette = displayio.Palette(1)
Expand Down
2 changes: 1 addition & 1 deletion examples/displayio_ssd1306_featherwing.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

# Make the display context
splash = displayio.Group()
display.show(splash)
display.root_group = splash

color_bitmap = displayio.Bitmap(128, 32, 1)
color_palette = displayio.Palette(1)
Expand Down
2 changes: 1 addition & 1 deletion examples/displayio_ssd1306_picowbell_tempsensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
layer1.append(temp_label)
layer1.append(humidity_label)
layer1.append(pressure_label)
display.show(layer1)
display.root_group = layer1

while True:
# Convert temp C to F
Expand Down
2 changes: 1 addition & 1 deletion examples/displayio_ssd1306_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

# Make the display context
splash = displayio.Group()
display.show(splash)
display.root_group = splash

color_bitmap = displayio.Bitmap(WIDTH, HEIGHT, 1)
color_palette = displayio.Palette(1)
Expand Down

0 comments on commit 0ab1e80

Please sign in to comment.