Skip to content

Commit e13d6d1

Browse files
committed
display rotation to 0
1 parent eaafdcf commit e13d6d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: examples/asyncio_displayio_button.py

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
# use built-in display
1919
display = board.DISPLAY
2020

21+
# explicitly set the display to default orientation in-case it was changed
22+
display.rotation = 0
23+
2124
# --| Button Config |-------------------------------------------------
2225
# invert color Button
2326
BUTTON_1_X = 10

0 commit comments

Comments
 (0)