Skip to content

Commit 03e937b

Browse files
committed
Use variable for missed color tuple.
1 parent b65c0e3 commit 03e937b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/clue_height_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
while True:
1717
if clue.button_a:
1818
initial_height = clue.altitude
19-
clue.pixel.fill((255, 0, 0))
19+
clue.pixel.fill(clue.RED)
2020
else:
2121
clue.pixel.fill(0)
2222
clue_display[5].text = "Altitude: {:.1f} m".format(clue.altitude)

0 commit comments

Comments
 (0)