Skip to content

Commit

Permalink
Merge pull request #27 from RetiredWizard/main
Browse files Browse the repository at this point in the history
Replace depreciated .show
  • Loading branch information
dhalbert authored Nov 2, 2023
2 parents 3cdf594 + 2f2af5d commit a9d8408
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/gizmo_eink_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
display_group.append(sprite)

# Place the display group on the screen
display.show(display_group)
display.root_group = display_group

# Refresh the display to have it actually show the image
# NOTE: Do not refresh eInk displays sooner than 180 seconds
Expand Down
2 changes: 1 addition & 1 deletion examples/gizmo_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
group.append(tile_grid)

# Add the Group to the Display
display.show(group)
display.root_group = group

# Draw pixels
while True:
Expand Down
2 changes: 1 addition & 1 deletion examples/gizmo_tft_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

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

color_bitmap = displayio.Bitmap(240, 240, 1)
color_palette = displayio.Palette(1)
Expand Down
2 changes: 1 addition & 1 deletion examples/gizmo_tft_thermometer.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def c_to_f(c_val):
group.append(text_group)

# Add the main Group to the Display
display.show(group)
display.root_group = group

# Loop forever
while True:
Expand Down

0 comments on commit a9d8408

Please sign in to comment.