From f1c530e5b1c778dad50c49a7f62001a1ec62f5ff Mon Sep 17 00:00:00 2001 From: BinarySandia04 Date: Wed, 22 Apr 2026 12:34:26 +0200 Subject: [PATCH] Motor driver fix --- backend/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/main.py b/backend/main.py index 781caee..603342f 100644 --- a/backend/main.py +++ b/backend/main.py @@ -40,7 +40,10 @@ def motor_loop(): while True: if not motor_running: time.sleep(0.1) + print("Waiting for motor to start...") continue + + print("Motor running...") step_motor(200, GPIO.HIGH, 0.001) time.sleep(1)