motor test

This commit is contained in:
Bernd Reuther 2021-03-04 14:45:15 +01:00
parent ec3e3d0ba3
commit 189adedf22

View File

@ -53,10 +53,7 @@ class motor():
self.pwm4.start(0)
def stop(self):
self.pwm1.stop()
self.pwm2.stop()
self.pwm3.stop()
self.pwm4.stop()
self.pwm4.ChangeFrequency(self.freq)
def vorwaerts(self, schritte):
ges_schritte = schritte * 8