Motor driver fix
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user