Minor formatting changes

pull/809/head
Irvin 2023-08-03 15:26:24 +01:00
rodzic f0bfc7c13b
commit 6306d5e753
2 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -114,7 +114,6 @@ while True:
bp = (brightness_value / MAX_RANGE) * 100 # gets brightness value in percentage relative to the MAX_LS_VALUE set
# deactivate auto brightness by pressing A
if cu.is_pressed(CosmicUnicorn.SWITCH_A):
print("Auto brightness off")

Wyświetl plik

@ -70,7 +70,7 @@ def calculate_brightness(prev_brightness_val):
# draws percentage icon
def draw_percentage(x, y):
graphics.rectangle(x + 1, y + 1, 2, 2)
graphics.line(x + 1 , y + 5, x + 6, y)
graphics.line(x + 1, y + 5, x + 6, y)
graphics.rectangle(x + 4, y + 4, 2, 2)