Line following for a period of time


Hello I am trying to help my son for his school project and we want ti use line following sensor to follow the line for 3 seconds only, but we didnt manage to do that. We are using mbot and mblock 5
Any help for that


Hi mrtduvarci,

Here’s what it might look like …

A = Begin
I took 5 seconds

Need to pause in the middle of a line follow line

I am not going to use mbot in live mode can I use this in upload mode @Crackel


Hi mrtduvarci,

You can use the code in upload mode. It is always recommended to use the program in upload mode when using the Line following and Ultrasonic sensors because the reaction time is better.

If you have any other question, please do not hesitate.