Steps :
- Set IR threshold for stopping the robot at the crossing lines
- use a block to get the IR value for reading the IR value
- The below example uses a pid line following blocks
- First, click on the flag to initialize and set the pin for the line following
- When you click doline following robot start line following and stop at the Check-point (when both IRs are at the Black line)
Script