Turn on both motors.
Wait until light is less than 40.
Turn off both motors (coast).
Save this program as m3EdgeDetection then download and test your program.
Challenge: Modify your program to make Alpha Bot run backwards for 0.5 seconds when the board edge is detected before turning off both motors. Write another program that is designed to a white border. Save, download and test your programs.
Does your Alpha Bot start out forward, go
until it hits the dark edge then backup for 0.5 seconds and stop?
How do you check the output of the
light sensor?
Write down your comments recording any problems and their solution or any pertinent details learned during execution of this mission.