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)