diff --git a/src/schrittmotor.py b/src/schrittmotor.py index 01aad57..1b37e97 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -56,6 +56,8 @@ class motor: self.pwm4.start(0) self.pwm4.ChangeDutyCycle(0) + print(str(self.pwm4)) + def vorwaerts(self, schritte): ges_schritte = schritte * 8 print(str(ges_schritte)) @@ -63,7 +65,7 @@ class motor: if self.halten == 1: test = self.pwm4.ChangeFrequency(freq) - print(str(test)) + print(str(self.pwm4)) for i in range(int(schritte)): if self.pos >= self.schritte_max: