Hot answers tagged nxc
Not right now. RobotC support is already there ( although it isn't free ).
By "smoother limit", if you mean "when it gets closer to the limit, it will softly land there by slowing down" then: I recommend using PID control where the response (how fast the motor is moving to the limit) is controlled proportional to the error (how far away from the limit you are). Wikipedia has a good intro to PID control: ...
To understand how to use the data, it help to understand how the color sensor works. Let's take a step back for a minute and have a look. The sensitive electrical component here is just a photodiode or phototransistor that lets us measure light intensity. If we turn all of the LEDs off we are just measuring ambient light. If we turn on just one of the LEDs ...
Maybe you should look into using a multiplexer to add additional sensors to an NXT brick. The Hitechnic Sensor Multiplexer lets you connect 4 sensors using only 1 of the NXT connection. The same thing can be done with motors. For example using the Mindsensors NXTMMX, you can add 2 additional motors per multiplexer (even better, if you daisy-chain the ...
Only top voted, non community-wiki answers of a minimum length are eligible