debug m3
This commit is contained in:
parent
65d2fbd2de
commit
a96c52edbc
@ -106,6 +106,7 @@ class motor():
|
||||
pi.set_PWM_frequency(self.sp4, self.freq)
|
||||
|
||||
for i in range(int(schritte)):
|
||||
print('Kamera Motor ' + self.name + ' Schritt ' + str(i))
|
||||
if pi.read(self.endschalter) == 0:
|
||||
print('Endschalter ' + self.name)
|
||||
self.pos = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user