Mbot does not do line following and gap spaces at the same time


#1

hello, my team is trying to get our robot to follow a line and when it hits a segment or space where it does not hit a line, to keep going until a timer that will run when the line is false, hits a certain limit and turns around. the issue with this is that the line follower keeps working therefore, the robot never turns around, simply going in a line and when it hits a deadend, it just stops and tries to stay on the line. Any help is appreciated.

this picture V is a contiunation of the program on top.


#2