There are many ways to stop a car at a black line. Using
sensor attached to Port 1, the program takes the initial light reading,
drives forward (one motor car) and waits for a difference greater than
or equal to 15. Once this difference is reached, the Case Structure stops the
NXT and exits the program.