debug
This commit is contained in:
@@ -267,6 +267,7 @@ class dw_Servo:
|
||||
|
||||
def setPWM(self, value):
|
||||
if(value > 0):
|
||||
print( int(value) )
|
||||
self.MC._pwm.set_pwm(self.pin, 0, int(value) )
|
||||
if(value == 0):
|
||||
self.off()
|
||||
|
||||
Reference in New Issue
Block a user