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