This commit is contained in:
shrkey
2016-09-17 21:19:53 +01:00
parent ab0b820d3b
commit 8ca4d47d0c

View File

@@ -362,10 +362,10 @@ class dw_Controller:
def setMode(self, mode = 1):
if (mode == self.ININ):
self._mode = self.ININ
GPIO.output(27, GPIO.HIGH)
GPIO.output(27, GPIO.LOW)
else:
self._mode = self.PHASE
GPIO.output(27, GPIO.LOW)
GPIO.output(27, GPIO.HIGH)
def getMode(self):
return self._mode