at the min my robot will go around a black line ie "LIGHT_THRESH, CON, 35" but then when it comes of the line i get a while statement so it keeps turning right untill it finds the line


i want to make it so it goes right then checks left so it will go around the track anti clockwise and clockwise

anyone help my code is posted below

http://sql-servers.com/nopaste/?show=1871