diff --git a/kamera_server.py b/kamera_server.py index 8cf5a5e..3d45219 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -27,6 +27,7 @@ m1.start() m2.start() m1.eichen() +m2.eichen() #m1.vorwaerts(10) #m1.stop() diff --git a/src/schrittmotor.py b/src/schrittmotor.py index b1be2ca..b08dd2d 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -108,6 +108,7 @@ class motor(): for i in range(int(schritte)): if GPIO.input(self.endschalter) == GPIO.LOW: + print('Endschalter ' + self.name) self.pos = 0 break else: