|
@@ -1560,7 +1560,7 @@ class PCA9685(object):
|
|
|
|
|
|
class extDcMotor(PCA9685):
|
|
|
def __init__(self,motorId):
|
|
|
- #PCA9685.__init__(self)
|
|
|
+ PCA9685.__init__(self)
|
|
|
self.motorPin=[11,12,13,10,9,8,5,6,7,4,3,2]
|
|
|
self.motorId=motorId
|
|
|
pass
|
|
@@ -1632,7 +1632,7 @@ class extDcMotor(PCA9685):
|
|
|
|
|
|
class extServo(PCA9685):
|
|
|
def __init__(self,servoId):
|
|
|
- #PCA9685.__init__(self)
|
|
|
+ PCA9685.__init__(self)
|
|
|
self.servoId=servoId
|
|
|
self.servoPin=[14,15,1,0]
|
|
|
self.degrees=180
|
|
@@ -1653,7 +1653,7 @@ class extServo(PCA9685):
|
|
|
|
|
|
class extOutputPin(PCA9685):
|
|
|
def __init__(self):
|
|
|
- #PCA9685.__init__(self)
|
|
|
+ PCA9685.__init__(self)
|
|
|
self.pin=[14,15,1,0]
|
|
|
self.pinId=0
|
|
|
pass
|