diff --git a/src/schrittmotor.py b/src/schrittmotor.py index 3c32760..1a4165a 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -87,7 +87,7 @@ def einzelschritt(spule, status, ges_schritte, schritt, t1, t2): w = (schritt * 100 / (ges_schritte - 1)) * 1.8 s = round(math.sin(math.radians(w)), 2) t = t2 - (s * (t2 - t1)) - print(str(spule)) + print(str(t)) if status == 1: for i in range(0, 91, 5):