Light Sensor / Colour sensor - linefollower
I'm a completly new person to NXT, and I wanted to use RobotC to programm by NXT 2.0. The problem is:
I have this kind of sensor (http://www.roboshop.pl/media/catalog/pr ... sensor.jpg
) and i want to use it in this way - if the robot "see" black line (on white board) to follow the line. But I can not do it. i wrote this kind of program:
of course i gave in Robot -> Motors and Sensors Setup -> Sensors -> S3 LightSensor Reflected Light (active) but my robot detects nothing! Even red light isn't working (But if I choose only the burning of the red light, the red LED is lit).
Anyone knows what is going on? Why my LineFollower doesn't recognize or detect anything? Thank for any replies