motor test

This commit is contained in:
Bernd Reuther 2021-03-04 12:49:11 +01:00
parent e5114d38f9
commit 51e62901a1

View File

@ -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)