Skip to content

Commit

Permalink
display rotation to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Mar 22, 2022
1 parent eaafdcf commit e13d6d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/asyncio_displayio_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
# use built-in display
display = board.DISPLAY

# explicitly set the display to default orientation in-case it was changed
display.rotation = 0

# --| Button Config |-------------------------------------------------
# invert color Button
BUTTON_1_X = 10
Expand Down

0 comments on commit e13d6d1

Please sign in to comment.