From 189adedf22be5d29e0d4be8e13dc959f75163bc0 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 4 Mar 2021 14:45:15 +0100 Subject: [PATCH] motor test --- src/schrittmotor.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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