pratti
Member level 3
does the following code for stepper motor makes only single step clockwise rotation or 180 rotation and stop?i want to rotate at 1 degree in 1min.does the following code useful?
clock() //function for clockwise rotation
{
P2=0X11;
T0delay(56);
P2=0X22;
T0delay(56);
P2=0X44;
T0delay(56);
P2=0X88;
T0delay(56);
}
}
clock() //function for clockwise rotation
{
P2=0X11;
T0delay(56);
P2=0X22;
T0delay(56);
P2=0X44;
T0delay(56);
P2=0X88;
T0delay(56);
}
}