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

Configure a temperature sensor.

Configure the sensor on the specified port as a temperature sensor. Use this to setup the temperature sensor rather than SetSensorLowspeed so that the sensor is properly configured in 12-bit conversion mode.

Parameters
portThe port to configure. See Input port constants.
Examples:
ex_SetSensorTemperature.nxc.