NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
unsigned int SensorScaled ( const byte &  port)
inline

Read sensor scaled value.

Return the processed sensor reading for a sensor on the specified port. This is the same value that is returned by the sensor value names (e.g. SENSOR_1) or the Sensor function.

Parameters
portThe sensor port. See Input port constants. A variable whose value is the desired sensor port may also be used.
Returns
The sensor's scaled value.
Examples:
ex_SensorScaled.nxc.