NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool ReadSensorHTRawColor ( const byte  port,
unsigned int &  Red,
unsigned int &  Green,
unsigned int &  Blue 
)
inline

Read HiTechnic Color raw values.

Read the raw red, green, and blue values from the HiTechnic Color 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
portThe sensor port. See Input port constants.
RedThe raw red color value.
GreenThe raw green color value.
BlueThe raw blue color value.
Returns
The function call result.
Examples:
ex_ReadSensorHTRawColor.nxc.