#define ReadSensorHTColor2Active ( _port,
_ColorNum,
_Red,
_Green,
_Blue,
_White,
_result   )     __ReadSensorHTColor2Active(_port, _ColorNum, _Red, _Green, _Blue, _White, _result)

Read HiTechnic Color2 active values.

Read color number, red, green, and blue values from the HiTechnic Color2 sensor. Returns a boolean value indicating whether or not the operation completed successfully. The port must be configured as a Lowspeed port before using this function.

Parameters:
_port The sensor port. See NBC Input port constants.
_ColorNum The output color number.
_Red The red color value.
_Green The green color value.
_Blue The blue color value.
_White The white color value.
_result The function call result.

Generated by  doxygen 1.6.2