diff --git a/src/schrittmotor.py b/src/schrittmotor.py index 356e4c4..37530cb 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -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