I am very new to this...
I am trying to get my robot to line track using lightsensor 1 and then use lightsensor 2 to detect a second line, stop for 1 sec and then drive again. I thought this code would have that effect:
When I run the code. The robot follows the line with lightsensor1 then when lightsensor2 detects the line, the robot stops, but it doesn't goes again.
Could you also help me with how to teach the robot to resume line tracking with lightsensor 1 after passing the line detected by lightsensor2?
Thank you!