Figure 5. Now hold the control key and click the light sensor
switch, dragging it- which will create a duplicate of the switch
and everything inside it! Drag that duplicate into place just after
the first switch inside the loop.
If all goes well, you should now be able to download
your program onto Eddie and watch him roll! In case you
have any issues, here’s some troubleshooting with common
Figure 6. Finally, change the sensor port for the second switch
to port 2 (the light sensor on the right of the robot) and switch
the motor commands within the second switch to port C (the
motor on the right of the robot).
• Eddie ignores the line completely.
- Check your light values. Make sure that you’re
waiting for a value between that of the floor and
- Consider lowering the motor power levels.
Sometimes if your line is thin, he might be
40 SERVO 11.2010