From 3651b6fb70a3053eefd1b496ae9f4ae52e1bdda6 Mon Sep 17 00:00:00 2001 From: Patrick Tschuchnig Date: Thu, 12 Sep 2019 08:56:29 +0200 Subject: [PATCH] somehow this didnt work --- gametest_rev1.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gametest_rev1.py b/gametest_rev1.py index 92940e5..edd824a 100644 --- a/gametest_rev1.py +++ b/gametest_rev1.py @@ -148,6 +148,9 @@ leds_off_toggle = False # of the timer equation timer_led_updated = 0 +# disabled constant led updating by default +leds_constant_update = False + ############################################ ######## END OF PRE-INITIALISATION ######### ############################################ @@ -556,6 +559,7 @@ while True: led_handler() print(str(pygame.time.get_ticks())) print(str(int((pygame.time.get_ticks()/100))%2)) + print(str(leds_constant_update)) if game_running == False and game_ending == False: # one shot for changing the led colour