diff --git a/src/schrittmotor.py b/src/schrittmotor.py index f87f06b..ad315ad 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -56,7 +56,7 @@ class motor(): print(str(self.halten)) if self.halten == 1: - self.pwm4.ChangeFrequency(self.freq) + self.pwm4.ChangeFrequency(self.freq_halten) self.pwm4.stop() print(dir(self.pwm4))