No, not a HiTechnic sensor in this episode of Exposed. Yesterday someone on the Mindboards forums asked what the third bump on the LEGO Colour Sensor was for. I was curious enough to take a small blade to one of my sensors and take it apart. I did take some [...]
Post Tagged with: "NXT 2.0 color sensor"
Using the NXT 2.0 Colour Sensor as an old fashioned NXT 1.0 Light Sensor as very simple in NXT-G but a little more involved in ROBOTC. The old Light Sensor uses a small red LED to illuminate the target and a small sensor to see how much was reflected. The [...]
So you just bought yourself one of the NXT 2.0 Colour Sensors and you’re keen to get started with it. You browse through the example programs that are shipped with ROBOTC and open the “ColorSensor.c” program. “300 lines of code to read a simple colour?” you ask yourself. Fear not, [...]