#define SetSensorType ( _port,
_t   )     setin _t, _port, TypeField

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.

See also:
SetSensorMode()
Parameters:
_port The port to configure. See NBC Input port constants.
_t The desired sensor type. See NBC sensor type constants.

Generated by  doxygen 1.6.2