NXT 2.0 color sensor support
Thanks to Edward Nutting for expanding the framework with support the NXT 2.0 color
In his own words:
I have over the past year or two been using your code for some home C# robotics
projects. I have found it very good and would like to thank you greatly for it.
However, I have found that the standard Color Sensor provided with the Lego Mindtstorms
NXT 2.0 kit does not work with your code.
I finally got round to writing an extra class for your library today to solve this
and have managed to get it working so that both the colour detection and the lamp
features work. I have attached the class files (Note changes to the NxtCommunicationProtocol:SensorTypes)
so that you may include it in your library, if you so wish. A final note that your
library would need a reference to System.Drawing to compile.
You can find his two classes here (provided as-is):
Thanks Edward, they look nice. Unfortunately I have not been able to try them out
because I did not have a NXT 2.0 kit until recently.
Note: The upcoming v2.0 will have NXT 2.0 support, including the color sensor.