#define SetSensorMode ( _port,
_m   )     setin _m, _port, InputModeField

Set sensor mode.

Set a sensor's mode, which should be one of the predefined sensor mode constants. A slope parameter for boolean conversion, if desired, may be added to the mode. 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:
SetSensorType()
Parameters:
_port The port to configure. See NBC Input port constants.
_m The desired sensor mode. See NBC sensor mode constants.

Generated by  doxygen 1.6.2