From e13d6d14ee9b2c55f5bd775f509fd9b7da62b487 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 21 Mar 2022 20:58:12 -0500 Subject: [PATCH] display rotation to 0 --- examples/asyncio_displayio_button.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/asyncio_displayio_button.py b/examples/asyncio_displayio_button.py index c33d9c2..22cf633 100644 --- a/examples/asyncio_displayio_button.py +++ b/examples/asyncio_displayio_button.py @@ -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