#define ReadDISTNxMaxDistance ( _port,
_i2caddr,
_out,
_result   )     __MSReadValue(_port, _i2caddr, DIST_REG_DIST_MAX, 2, _out, _result)

Read DIST-Nx maximum distance value.

Read the mindsensors DIST-Nx sensor's maximum distance value. The port must be configured as a Lowspeed port before using this function.

Parameters:
_port The sensor port. See NBC Input port constants.
_i2caddr The sensor I2C address. See sensor documentation for this value.
_out The maximum distance value.
_result The function call result.

Generated by  doxygen 1.6.2