NXT-G : Reading 2.0 Color-Sensor in Light-Mode
Posted: 16 Jan 2011, 12:19
A (simple) question:
I have the NXT 2.0 color-sensor and use it in light-sensor-mode.
I want to save the ambient light value to a variable.
How can I read the light value (1-100) out of the sensor? Or isnt' it possible width NXT-G?
(I want to store the ambient light and periodically check for a diff>x ... then do something.)
I have the NXT 2.0 color-sensor and use it in light-sensor-mode.
I want to save the ambient light value to a variable.
How can I read the light value (1-100) out of the sensor? Or isnt' it possible width NXT-G?
(I want to store the ambient light and periodically check for a diff>x ... then do something.)