Skip to content

Commit

Permalink
fixing code
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasM2001 committed May 6, 2024
1 parent 38142ba commit 2555dd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/lab_devices/MotorStage.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
# print(dut["MotorStage"].get_position(address=1), "position after") # print position after movement

# example of an relative movement using wait_pos
# move_r=20000
# target = dut["MotorStage"].get_position(address=1)+move_r
# dut["MotorStage"].move_relative(move_r,address=1)
# dut["MotorStage"].wait_pos(target,500,1)
# move_r = 20000
# target = dut["MotorStage"].get_position(address=1) + move_r
# dut["MotorStage"].move_relative(move_r, address=1)
# dut["MotorStage"].wait_pos(target, 500, 1)

# abort any movement abruptly:
# dut["MotorStage"].abort(address=1)

0 comments on commit 2555dd2

Please sign in to comment.