Getting Started Guide
SCRATCH CODING KIT
Coding Line Follower
Coding a Line Follower
That is, when the infrared sensor detects the line (the black area absorbs the light and the light is less reflective),
the line follower will move out of the left line.
If the infrared sensor no longer detects the line (if there is a lot of light reflection), the line follower will move to
the right. The infrared sensor will detect the black area again and go to the left. This cycle repeats until the line
follower follows the line.