Updated library

This commit is contained in:
shrkey
2016-04-06 21:08:20 +01:00
parent 1db66c2e48
commit df74fc2eb4
2 changed files with 54 additions and 6 deletions

View File

@@ -249,11 +249,8 @@ class dw_MotorCONTROL:
self._pwm.setPWMFreq(self._frequency)
# Just gonna default to high for now
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(17, GPIO.OUT)
GPIO.output(17, GPIO.HIGH)
self.motors = [ dw_DCMotor(self, m) for m in range(6) ]