#define ReadSensorColorEx ( _port,
_colorval,
_rawVals,
_normVals,
_scaledVals,
_result   )     __ReadSensorColorEx(_port, _colorval, _rawVals, _normVals, _scaledVals, _result)

Read LEGO color sensor extra.

This function lets you read the LEGO color sensor. It returns the color value, and three arrays containing raw, normalized, and scaled color values for red, green, blue, and none indices.

Parameters:
_port The sensor port. See NBC Input port constants.
_colorval The color value. See Color values.
_rawVals An array containing four raw color values. See Color sensor array indices.
_normVals An array containing four normalized color values. See Color sensor array indices.
_scaledVals An array containing four scaled color values. See Color sensor array indices.
_result The function call result.
Warning:
This function requires an NXT 2.0 compatible firmware.

Generated by  doxygen 1.6.2