This commit is contained in:
Bernd Reuther 2021-10-17 14:13:47 +02:00
parent 6a7265c2aa
commit 8b1a86bb9a

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: ' + map(str,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))