From da16d5db07eb8daf56cf72a6502621e4c2764763 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 4 Mar 2021 14:07:44 +0100 Subject: [PATCH] motor test --- src/schrittmotor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))