NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void SysColorSensorRead ( ColorSensorReadType args)
inline

Read LEGO color sensor.

This function lets you read the LEGO color sensor given the parameters you pass in via the ColorSensorReadType structure.

Parameters
argsThe ColorSensorReadType structure containing the required parameters.
Warning
This function requires an NXT 2.0 compatible firmware.
Examples:
ex_SysColorSensorRead.nxc.