Zumo robot, stop at the end of a line

Hi guys,

I'm super new to all this. I was running the Zumo example "LineFollower". Just wondering how to get it to stop when the sensors hit the end of the line. I think the center value is 2500, and hitting the white is 5000. Just wondering if someone has an example code for how to make it stop?

Thanks, Shaun,

Were you hoping that we all knew about that example and had access to it? Why don't you post that code that you have. If you want free help then it really makes sense to make it easy to help you and not to send us out searching for your code. Most people wont. They'll just move to the next topic. So when you get tired of nobody answering post your code and all other relevant details.