motor1 pulls in one direction while motor2 should release; then, motor2 pulls in the opposite direction and motor1 should release.
Everything is working great, but for some reason, even though I've included the release command in my code, it seems that the steppers are not fully released. Both motors spin much more freely when the power is off completely. Because they are not fully released, it is causing problems for other motor trying to pull too hard.
Any troubleshooting suggestions? I'm fairly new to this but I am working with an experienced person who could not figure out what is wrong. Here is the main part of the code and a possibly unhelpful photo of my board:

- Code: Select all
void loop()
{
motor2.release();
for (i = 0; i < _steps; i++)
{
motor1.onestep(FORWARD, SINGLE);
delay(2000);
}
motor1.release();
for (i = 0; i < _steps; i++)
{
motor2.onestep(BACKWARD, SINGLE);
delay(2000);
}
}

