Skip to content

Commit 6306d5e

Browse files
committed
Minor formatting changes
1 parent f0bfc7c commit 6306d5e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

micropython/examples/cosmic_unicorn/light_sensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def draw_sun(x, y, r):
114114

115115
bp = (brightness_value / MAX_RANGE) * 100 # gets brightness value in percentage relative to the MAX_LS_VALUE set
116116

117-
118117
# deactivate auto brightness by pressing A
119118
if cu.is_pressed(CosmicUnicorn.SWITCH_A):
120119
print("Auto brightness off")

micropython/examples/stellar_unicorn/light_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def calculate_brightness(prev_brightness_val):
7070
# draws percentage icon
7171
def draw_percentage(x, y):
7272
graphics.rectangle(x + 1, y + 1, 2, 2)
73-
graphics.line(x + 1 , y + 5, x + 6, y)
73+
graphics.line(x + 1, y + 5, x + 6, y)
7474
graphics.rectangle(x + 4, y + 4, 2, 2)
7575

7676

0 commit comments

Comments
 (0)