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