A few changes

Added correction factor
Change motor test code
This commit is contained in:
shrkey
2016-08-15 21:21:43 +01:00
parent 95d9be87cd
commit d56cf2f666
3 changed files with 17 additions and 14 deletions

View File

@@ -227,6 +227,9 @@ class dw_Motor:
if (command == dw_Controller.RELEASE):
self.MC.setPin(self.PHpin, 0)
self.MC.setPin(self.ENpin, 0)
def off(self):
elf.run(dw_Controller.RELEASE, 0)
class dw_Servo:
def __init__(self, controller, num, freq):