Hello,
i'm building a stair climbing robot, and now i started to write program for it.
i allready have algorithm for my robot, but i cant find any similar source code examples, that i could use
my algorithm have few cycles, for example:
if (sensor1 pin) == 1 ,sensor2 pin) == 0;
than (motor1pin)==1, motor2 pin) ==0;
if (sensor1 pin) == 1 ,sensor2 pin) == 1;
than (motor1pin)==0, motor2 pin) ==0; go to step2;
i still cant decide which c or cbasic would be best for me, and i'm still trying to find any examples wrom which i could use and learn something.
pls give any examples or advices