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

Configure an NXT 2.0 green light sensor.

Configure the sensor on the specified port as an NXT 2.0 color sensor in green 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_setsensorcolorgreen.nxc.