NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void SetSensorColorRed ( const byte &  port)
inline

Configure an NXT 2.0 red light sensor.

Configure the sensor on the specified port as an NXT 2.0 color sensor in red light mode. Requires an NXT 2.0 compatible firmware.

Parameters
portThe port to configure. See Input port constants.
Warning
This function requires an NXT 2.0 compatible firmware.
Examples:
ex_setsensorcolorred.nxc.