Configure LEGO Temperature sensor options.
Set various LEGO Temperature sensor options.
- Parameters
-
port | The port to which the temperature sensor is attached. See the Input port constants group. You may use a constant or a variable. |
config | The temperature sensor configuration settings. See LEGO temperature sensor constants for configuration constants that can be ORed or added together. |
- Returns
- A status code indicating whether the read completed successfully or not. See CommLSReadType for possible Result values.
- Examples:
- ex_ConfigureTemperatureSensor.nxc.