Steps:
- Connect the External IR module analog pin with the quarky analog pin and select the pin on the block
- Set IR threshold for line following and stopping the robot at the crossing line
- Use read analog pin block for reading IR value to get IR threshold
- The below example uses without-PID line following blocks
- When you click doline following robot start line following and stop at the check-point (when both IRs are at the Black line)
Script