From b7797e43e65167f972e254a84a77ef2678ef1bda Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 4 Mar 2021 14:37:22 +0100 Subject: [PATCH] motor test --- src/schrittmotor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/schrittmotor.py b/src/schrittmotor.py index 7be8c8b..1b623e2 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -25,6 +25,10 @@ class motor(): self.freq = freq self.freq_halten = freq_halten self.cyc_halten = cyc_halten + self.pwm1 = 0 + self.pwm2 = 0 + self.pwm3 = 0 + self.pwm4 = 0 def start(self): GPIO.setup(self.sp1, GPIO.OUT)