Skip to content

Commit af4f935

Browse files
authored
Merge pull request #9 from kattni/color-fix
Use variable for missed color tuple.
2 parents 4c9301a + 03e937b commit af4f935

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)