|
NXC
Version 1.2.1 r5
|
|
inline |
Read LEGO color sensor raw values.
This function lets you read the LEGO color sensor. It returns an array containing raw color values for red, green, blue, and none indices.
| port | The sensor port. See Input port constants. |
| rawVals | An array containing four raw color values. See Color sensor array indices. |