1 Put your color sensor (or color sensor) on a castor bot (or starter bot).
2 Program this:
[loop - [move ( forward - unlimited ) ] - [wait for ( light - <>

3 download and play.
This program:
the robot goes forward until it finds the black line the goes back the left and repeats
heres what it should look like (nxt-g 2.0)






