remove pwm

This commit is contained in:
shrkey
2016-09-13 23:00:54 +01:00
parent afe2d9c0b8
commit 78eea1026a

View File

@@ -138,8 +138,8 @@ class dw_Stepper:
self.currentstep %= self.MICROSTEPS * 4 self.currentstep %= self.MICROSTEPS * 4
# only really used for microstepping, otherwise always on! # only really used for microstepping, otherwise always on!
self.MC._pwm.set_pwm(self.PWMA, 0, pwm_a*16) #self.MC._pwm.set_pwm(self.PWMA, 0, pwm_a*16)
self.MC._pwm.set_pwm(self.PWMB, 0, pwm_b*16) #self.MC._pwm.set_pwm(self.PWMB, 0, pwm_b*16)
# set up coil energizing! # set up coil energizing!
coils = [0, 0, 0, 0] coils = [0, 0, 0, 0]