16 | P a g e
G. Detect and Follow a Line
The Quad RGB Sensor (color sensor) enables us to detect and follow lines, and detect colours and respond to the
colours in different ways.
Test the Sensor using either of these, by passing the mBot2 over a black line on a white background and checking the
displayed message and lights.