NXC
Version 1.2.1 r5
|
|
inline |
Set sensor type.
Set a sensor's type, which must be one of the predefined sensor type constants. After changing the type or the mode of a sensor port you must call ResetSensor to give the firmware time to reconfigure the sensor port.
port | The port to configure. See Input port constants. |
type | The desired sensor type. See Sensor type constants. |