From 03512ff533914599554e014e3d615d325167bcb0 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Thu, 4 Mar 2021 12:27:25 +0100 Subject: [PATCH] motor test --- src/schrittmotor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schrittmotor.py b/src/schrittmotor.py index 84ecabd..d7ab429 100644 --- a/src/schrittmotor.py +++ b/src/schrittmotor.py @@ -87,6 +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(schritt)) if status == 1: for i in range(0, 91, 5):