From 4f67b16bb77a332c40a80043765d03be6af0343b Mon Sep 17 00:00:00 2001 From: Moris Krajnc Date: Fri, 30 Aug 2019 09:56:04 +0200 Subject: [PATCH] removed all timePerError lines/commands --- gametest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gametest.py b/gametest.py index 9f6946c..bc07c47 100644 --- a/gametest.py +++ b/gametest.py @@ -7,17 +7,15 @@ from pygame.locals import * #GPIO startPin = 32 errorPin = 31 -enableErrorTimeAddingPin = 15 shutdownPin = 3 GPIO.setmode(GPIO.BOARD) GPIO.setup(startPin, GPIO.IN) GPIO.setup(errorPin, GPIO.IN) -GPIO.setup(enableErrorTimeAddingPin, GPIO.IN) GPIO.setup(shutdownPin, GPIO.IN) #other constants -timePerError = 5 # every time the wire is touched, some time is added as penalty. only active when enableErrorTimeAddingPin is active +timePerError = 5 # every time the wire is touched, some time is added as penalty. screenSizeX = 1920 screenSizeY = 1080