by Xdot2 » Sat Apr 13, 2013 9:37 am
then One more thing is I have been change the mode on the program.. I try to change only one mode to play. there is no sw1 sw2 and sw3.. and only call for one program to play... this is how I call the subprogram.. so this is the code that I was made how to call it.. pls help me to check either it is true or not..
send_cmd(L1, mid_L1, 0); //set left leg to mid position
...............................
................................. //set right leg to mid position
delay(200000); //delay for certain period
}
{
while(1)
{
forward();
}
}
// functions
//=============
void forward(void)
{
//shift body weight to left leg
while(1)
{
{
//right leg moved forward..................
........
}
}