test motor
This commit is contained in:
parent
bacc5def87
commit
28937cece3
@ -143,7 +143,7 @@ class motor():
|
|||||||
if temp_schritte > 0:
|
if temp_schritte > 0:
|
||||||
self.vorwaerts(temp_schritte)
|
self.vorwaerts(temp_schritte)
|
||||||
else:
|
else:
|
||||||
self.rueckwaerts(temp_schritte)
|
self.rueckwaerts(abs(temp_schritte))
|
||||||
|
|
||||||
def einzelschritt(spule, status, ges_schritte, schritt, t1, t2):
|
def einzelschritt(spule, status, ges_schritte, schritt, t1, t2):
|
||||||
w = (schritt * 100 / (ges_schritte - 1)) * 1.8
|
w = (schritt * 100 / (ges_schritte - 1)) * 1.8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user