can arduino do job simultaneusly?

i'm making a robot that constantly checks range and move to solve a maze..can both of this action done simultaneusly? because i want the robot to check the range while its moving instead of stops when it checks the range..

thank you..

.can both of this action done simultaneusly

Yes, it is just a matter of writing the software correctly. See the blink without delay example.

http://www.arduino.cc/playground/Code/TimedAction

One way to do it

i`ll try it.. thank you very much,..