Jump to content

Control two stepper motors with joystick


Recommended Posts

My idea is to stack two Stepper Bricks and attach a Joystick Bricklet to one of the Stepper Bricks.


Since the API is thread safe, I can have a thread monitoring the state of the joystick and can change the state of the step motors accordingly.


Now, is it possible to change the speed of the stepper motor as it moves. That is, can I do the following,

stepper_set_max_velocity(my_stepper, 10);
// at a later time, while still moving, will this call increase the 
// stepper motor velocity?
stepper_set_max_velocity(my_stepper, 100);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...