Read HiTechnic Color2 raw values.
Read the raw 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 Input port constants. |
Red | The raw red color value. |
Green | The raw green color value. |
Blue | The raw blue color value. |
White | The raw white color value. |
- Returns
- The function call result.
- Examples:
- ex_ReadSensorHTRawColor2.nxc.