Romeo stopping stepper motors

What is the best way to stop the stepper motors? According to this tutorial:
[url=http://www.dfrobot.com/community/control-stepper-directly-via-dfr-romeo-ver-2.html]http://www.dfrobot.com/community/control-stepper-directly-via-dfr-romeo-ver-2.html[/url]
suggests:
myStepper.step(1000);
delay(1000);
myStepper.step(-1000);
But it states below the code:
The motor will run 1000 steps forward, then pause the motor, and after that run 1000 steps backward. Notice that when the motor pauses, it still works, and the current in the coil will reach its peak, thus at this time we decrease the duty cycle in case that the high current might damage the circus. You can also change it by yourself in the .h file.
But the other code sample suggests:
//stop the stepper without torque
myStepper.stop();
If I understand this correctly, method one keeps the motor torqued, meaning it would resist any external force trying to move the wheels, as if it were on a hill. But the stop() method essentially powers down the motors??
I looked through the Stepper_Romeo.h header file and didn't see any reference to this, so I am not sure what that note was referring to.
[url=http://www.dfrobot.com/community/control-stepper-directly-via-dfr-romeo-ver-2.html]http://www.dfrobot.com/community/control-stepper-directly-via-dfr-romeo-ver-2.html[/url]
suggests:
myStepper.step(1000);
delay(1000);
myStepper.step(-1000);
But it states below the code:
The motor will run 1000 steps forward, then pause the motor, and after that run 1000 steps backward. Notice that when the motor pauses, it still works, and the current in the coil will reach its peak, thus at this time we decrease the duty cycle in case that the high current might damage the circus. You can also change it by yourself in the .h file.
But the other code sample suggests:
//stop the stepper without torque
myStepper.stop();
If I understand this correctly, method one keeps the motor torqued, meaning it would resist any external force trying to move the wheels, as if it were on a hill. But the stop() method essentially powers down the motors??
I looked through the Stepper_Romeo.h header file and didn't see any reference to this, so I am not sure what that note was referring to.
2013-06-05 19:08:07 Hi, SkipMorrow,
Sorry for my pool English and ambiguous implication.
You are right and I'll modify it.
"stop the stepper without torque" means "stop the stepper with no torque".
In the .h file. There exist:
//when stepper stops, current will rise. To confine the current in a proper state, you can change this value to control the pwm wave.
//This is the typical value for the motor 42BYGH1861A-C, you can change it by yourself
#define TORQUE_STOP 150
You can modify "TORQUE_STOP" to define the torque when steppers pause with torque.
Angelo.Qiao
Sorry for my pool English and ambiguous implication.
You are right and I'll modify it.
"stop the stepper without torque" means "stop the stepper with no torque".
In the .h file. There exist:
//when stepper stops, current will rise. To confine the current in a proper state, you can change this value to control the pwm wave.
//This is the typical value for the motor 42BYGH1861A-C, you can change it by yourself
#define TORQUE_STOP 150
You can modify "TORQUE_STOP" to define the torque when steppers pause with torque.
