aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorroot <D Delmar Davis feurig@fromhell.com>2024-08-30 22:24:11 -0700
committerroot <D Delmar Davis feurig@fromhell.com>2024-08-30 22:24:11 -0700
commit85891aced5772615250ab57e674e978ddec6e33e (patch)
treebde69573d6f77da33b2401f8fe36ed90f55149f0 /bin
parent867eecf4a0690d48d51865a44488f06b66c6ecaa (diff)
on its side
Diffstat (limited to 'bin')
-rw-r--r--bin/analogclock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/analogclock.py b/bin/analogclock.py
index c7ab289..8053417 100644
--- a/bin/analogclock.py
+++ b/bin/analogclock.py
@@ -25,7 +25,7 @@ display = st7789.ST7789(
height=240,
x_offset=0,
y_offset=80,
- rotation=180
+ rotation=270
)
backlight = digitalio.DigitalInOut(board.D22)
@@ -47,7 +47,7 @@ draw = ImageDraw.Draw(image)
draw.rectangle((0, 0, width, height), outline=0, fill=0)
# Define some constants to allow easy resizing of shapes.
-padding = +2
+padding = +4
top = padding
bottom = height - padding
# Move left to right keeping track of the current x position for drawing shapes.