This commit is contained in:
Bernd Reuther 2021-10-17 14:22:33 +02:00
parent 3eb2a58e5c
commit ee1d9cedd8

View File

@ -106,7 +106,7 @@ class motor():
pi.set_PWM_frequency(self.sp4, self.freq) pi.set_PWM_frequency(self.sp4, self.freq)
print('Kamera Motor ' + self.name + ' gehe ' + str(schritte) + ' Schritte rückwärts') print('Kamera Motor ' + self.name + ' gehe ' + str(schritte) + ' Schritte rückwärts')
#print('Kamera Motor ' + self.name + ' Schrittliste: ' + map(str,range(schritte))) print('Kamera Motor ' + self.name + ' Schrittliste: ' + list(range(schritte)))
for i in range(schritte): for i in range(schritte):
print('Kamera Motor ' + self.name + ' Schritt ' + str(i)) print('Kamera Motor ' + self.name + ' Schritt ' + str(i))