This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8846EVM: How To Achieve Precise Control of 100 Repeat Motions.

Part Number: DRV8846EVM

Hi All,

For this controller, we want to control the stepper motor to rotate clockwisely for 120 degree, stay there for 10 seconds, then rotate counterclockwisely for 120 degree and stop there for another 10 seconds. 

Repeat the above process for 100 times. 

I know the GUI has a function "Reciprocate". But this one can only repeat the above process and stop whenever the button is clicked. I want a function that I can either set the repetition number or let the program shows how many repetition have been done so that I know when I should shut down the motor. 

Do we have any C++ library or any other way that can help? Thank you very much!

Joe