From 4d24196858b1b33ac2fe8cb9afe1405a2de4da53 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 4 Mar 2021 13:45:56 +0100 Subject: [PATCH] motor test --- src/schrittmotor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: