From 03e937b53f19d59c6a7a17144be30d23e822b84d Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Thu, 6 Feb 2020 14:48:25 -0500 Subject: [PATCH] Use variable for missed color tuple. --- examples/clue_height_calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/clue_height_calculator.py b/examples/clue_height_calculator.py index 6dba6b6..28ccfbf 100755 --- a/examples/clue_height_calculator.py +++ b/examples/clue_height_calculator.py @@ -16,7 +16,7 @@ while True: if clue.button_a: initial_height = clue.altitude - clue.pixel.fill((255, 0, 0)) + clue.pixel.fill(clue.RED) else: clue.pixel.fill(0) clue_display[5].text = "Altitude: {:.1f} m".format(clue.altitude)