Hello,
I have an Adafruit Motor Shield V2 to manage two stepper motors. I would like to run the motors for a while, then releasing them for a certain amount of time (quite a long so switching them off is required because they are both heating a lot) and finally run them again to complete the sequence (I want to do that within the same sketch also). I didn't find any "re-enable" function in the Adafruit_StepperMotor library documentation. Is it possible to power up a stepper again after releasing it with "myStepper->release();" ?
Thank you in advance,
Regards
Powering up again a stepper motor after releasing it
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- GuillaumeQ
- Posts: 2
- Joined: Thu Jan 13, 2022 11:27 am
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Powering up again a stepper motor after releasing it
There is no need to explicitly re-enable. Just start sending step commands again.
- GuillaumeQ
- Posts: 2
- Joined: Thu Jan 13, 2022 11:27 am
Re: Powering up again a stepper motor after releasing it
Thank you very much for your reply. Indeed, there is no need to re-enable the motor. In fact, I experienced a problem because I commented the sketch code line to re-run the motors (after releasing them)... Sorry to have bothered you and thanks again for your support !
Have a good day.
Have a good day.
Please be positive and constructive with your questions and comments.