fix write issue

This commit is contained in:
Pepijn
2025-01-30 13:32:07 +01:00
parent 0ffe2520f4
commit f540eb81ff
3 changed files with 7 additions and 177 deletions

View File

@@ -57,7 +57,7 @@ def calibrate_linear_motor(motor_id, motor_bus):
start_pos = motor_bus.read("Present_Position")[motor_id - 1] # Read index starts ar 0
print(f" [Motor {motor_id}] start position recorded: {start_pos}")
input("Open the {motor_name} fully, then press Enter...")
input(f"Open the {motor_name} fully, then press Enter...")
end_pos = motor_bus.read("Present_Position")[motor_id - 1] # Read index starts ar 0
print(f" [Motor {motor_id}] end position recorded: {end_pos}")