#define ReadNXTLineLeaderResult ( _port,
_i2caddr,
_out,
_result   )     __MSReadValue(_port, _i2caddr, NXTLL_REG_RESULT, 1, _out, _result)

Read NXTLineLeader result.

Read the mindsensors NXTLineLeader device's result value. This is a single byte showing the 8 sensor's readings. Each bit corresponding to the sensor where the line is seen is set to 1, otherwise it is set to 0. When all 8 sensors are over a black surface the result will be 255 (b11111111). 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 NXTLineLeader result value.
_result A status code indicating whether the operation completed successfully or not. See TCommLSCheckStatus for possible Result values.

Generated by  doxygen 1.6.2