| | Ok. If you used 2 motors in m1(right) & m3(left) , and your sensor was at the front (and only one), and in port 15, a short program for running it could be: /*Start of avoid.c */ void main(){ while(1){ /*Puts program in an infinite loop*/ fd(1); (...) (26 years ago, 15-Sep-98, to lugnet.robotics.handyboard)
|