GNAT NXT - Light Sensor and Motors
Hi,
I'm playing with GNAT for Mindstorms, trying to program a basic line follower. My problem is I'm always getting a reading of 100 (percent) for the light sensor, regardless of any calibration attempts, and Enable_Floodlight(True); does not turn the light on.
Can it be because the NXT.Light_Sensors package only supports the NXT 1.0 light sensor, not the NXT 2.0 color sensor which I have?
Also, setting the motor power doesn't seem to work (I'm using NXT.Motors.Simple). Another version incompatibility?
Thanks
Sergej
|