NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
byte ColorCalibrationState ( byte  port)
inline

Read LEGO color sensor calibration state.

This function lets you directly access the LEGO color calibration state. The port must be a constant.

Parameters
portThe sensor port. See Input port constants.
Returns
The calibration state.
Warning
This function requires an NXT 2.0 compatible firmware.
Examples:
ex_ColorCalibrationState.nxc.