Ticket #38 (closed feature request: fixed)
Support new NXT 2.0 Color Sensor
|Reported by:||atorf||Owned by:||atorf|
|Component:||Toolbox Function||Keywords:||color, sensor, analog, nxt 2.0, 2.0|
Add support for the new color sensor from the new MINDSTORMS NXT 2.0 set (8547).
This "LEGO color sensor" is a completely new analog sensor. It may or may not be complicated to retrieve values — it may be impossible to retrieve values via remote direct commands (due to low-level commands needed and precise timings), but no idea yet.
This LEGO color sensor is not to be confused with the HiTechnic Color Sensor (and the HiTechnic Color Sensor v2). Those are digital sensors, and should be supported by toolbox functions OpenColor and GetColor.
Official documentation on the NXT 2.0 Color sensor is not available yet, some more info: http://lejos.sourceforge.net/forum/viewtopic.php?p=7411
Please note the apparently removed old complicated code (marked red) from this changeset (indicating the sensor might not be as complicated over all?): http://lejos.svn.sourceforge.net/viewvc/lejos/trunk/classes/lejos/nxt/ColorLightSensor.java?view=diff&r1=3310&r2=3311