NXC  Version 1.2.1 r5
All Data Structures Files Functions Variables Groups Pages
ColorSensorReadType Struct Reference

Parameters for the ColorSensorRead system call. More...

#include <NXCDefs.h>

Data Fields

char Result
 
byte Port
 
int ColorValue
 
unsigned int RawArray []
 
unsigned int NormalizedArray []
 
int ScaledArray []
 
bool Invalid
 

Detailed Description

Parameters for the ColorSensorRead system call.

This structure is used when calling the SysColorSensorRead system call function. Choose the sensor port (Input port constants) and after calling the function read the sensor values from the ColorValue field or the raw, normalized, or scaled value arrays.

See Also
SysColorSensorRead()
Examples:
ex_SysColorSensorRead.nxc.

The documentation for this struct was generated from the following file: