Merge branch 'master' of http://git.wolfsberg.local/philipp.clima/heisser_draht
This commit is contained in:
commit
257c109f9f
@ -682,7 +682,7 @@ while True:
|
||||
# one shot for changing the led colour
|
||||
if game_just_started:
|
||||
print('game just started, changed colour of leds to green')
|
||||
change_led_colour(0, 200, 0)
|
||||
change_led_colour(200, 0, 200)
|
||||
game_just_started = False
|
||||
|
||||
# reset all the surfaces to be empty
|
||||
@ -799,7 +799,7 @@ while True:
|
||||
# if another push of start is detected (i.e. the game is ending!)
|
||||
if not GPIO.input(pin_stop):
|
||||
# change led colour to red
|
||||
change_led_colour(200, 0, 200)
|
||||
change_led_colour(0, 200, 200)
|
||||
|
||||
# reset the one shot latch for the end of game timer
|
||||
timer_game_ending_started = False
|
||||
|
Loading…
Reference in New Issue
Block a user