Skip to content

Commit

Permalink
Replace depreciated .show()
Browse files Browse the repository at this point in the history
  • Loading branch information
RetiredWizard committed Nov 3, 2023
1 parent c277db5 commit 2259e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/asyncio_displayio_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ async def main(): # Don't forget the async!


# show main_group so it's visible on the display
display.show(main_group)
display.root_group = main_group

# start the main coroutine
asyncio.run(main())

0 comments on commit 2259e21

Please sign in to comment.