motor test
This commit is contained in:
parent
e5114d38f9
commit
51e62901a1
@ -83,6 +83,7 @@ class motor:
|
||||
if self.halten == 1:
|
||||
self.pwm4.ChangeFrequency(freq_halten)
|
||||
self.pwm4.ChangeDutyCycle(cyc_halten)
|
||||
print(str(freq_halten))
|
||||
else:
|
||||
self.pwm4.ChangeDutyCycle(0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user