diff --git a/src/schrittmotor.py b/src/schrittmotor.py index d1ae4dc..02e870b 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -56,7 +56,8 @@ class motor(): if self.halten == 1: self.pwm4.ChangeFrequency(self.freq) - #print(str(self.pwm4)) + self.pwm4.stop() + print(str(self.pwm4)) for i in range(int(schritte)): if self.pos >= self.schritte_max: