somehow this didnt work

This commit is contained in:
Patrick Tschuchnig 2019-09-12 08:56:29 +02:00
parent 953a2836dc
commit 3651b6fb70

View File

@ -148,6 +148,9 @@ leds_off_toggle = False
# of the timer equation # of the timer equation
timer_led_updated = 0 timer_led_updated = 0
# disabled constant led updating by default
leds_constant_update = False
############################################ ############################################
######## END OF PRE-INITIALISATION ######### ######## END OF PRE-INITIALISATION #########
############################################ ############################################
@ -556,6 +559,7 @@ while True:
led_handler() led_handler()
print(str(pygame.time.get_ticks())) print(str(pygame.time.get_ticks()))
print(str(int((pygame.time.get_ticks()/100))%2)) print(str(int((pygame.time.get_ticks()/100))%2))
print(str(leds_constant_update))
if game_running == False and game_ending == False: if game_running == False and game_ending == False:
# one shot for changing the led colour # one shot for changing the led colour