01-18-2015 10:54 PM
Hello All,
My team needs some help on programming in a while loop. We want our robot to move forward until it senses a blue or red line. We have tried using a while loop and placing our motors at a constant sleep and connected it on the outside with stop motor block. Also we have a hitechnic color senor and we want to understand how to write a "or" code where it can detect a red or blue line and then stop. Thanks so much for the help!
Sincerely,
N.E.R.D.S. (Northeast Robotics Development Specialist)
Team #6552
01-19-2015 09:03 AM
Which color sensor are you using? Can you post your code?
Have you tried to just use the "wait for" VI? That may be simpler for you to use.
03-07-2015 08:34 PM
Sorry for the late response but the wait for VI worked. Thanks for the help!