I don't see what is wrong with the way i made my program.
It looks like this.
The idea is that in the while loop  shall the robot move forward until it see something brown.
If it see something brown it should jump to the second while loop, where it will move forward it sees something brown, and if it sees something white it should move backwards.
But for some reason it immediately goes to the second while loop, and stays only at the first for few sec.? ??
What am i doing wrong??