removed all timePerError lines/commands
This commit is contained in:
parent
6fe78f069a
commit
4f67b16bb7
@ -7,17 +7,15 @@ from pygame.locals import *
|
|||||||
#GPIO
|
#GPIO
|
||||||
startPin = 32
|
startPin = 32
|
||||||
errorPin = 31
|
errorPin = 31
|
||||||
enableErrorTimeAddingPin = 15
|
|
||||||
shutdownPin = 3
|
shutdownPin = 3
|
||||||
|
|
||||||
GPIO.setmode(GPIO.BOARD)
|
GPIO.setmode(GPIO.BOARD)
|
||||||
GPIO.setup(startPin, GPIO.IN)
|
GPIO.setup(startPin, GPIO.IN)
|
||||||
GPIO.setup(errorPin, GPIO.IN)
|
GPIO.setup(errorPin, GPIO.IN)
|
||||||
GPIO.setup(enableErrorTimeAddingPin, GPIO.IN)
|
|
||||||
GPIO.setup(shutdownPin, GPIO.IN)
|
GPIO.setup(shutdownPin, GPIO.IN)
|
||||||
|
|
||||||
#other constants
|
#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
|
screenSizeX = 1920
|
||||||
screenSizeY = 1080
|
screenSizeY = 1080
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user