#define ReadSensorMSAccel ( _port,
_i2caddr,
_x,
_y,
_z,
_result   )     __ReadSensorMSAccel(_port, _i2caddr, _x, _y, _z, _result)

Read mindsensors acceleration values.

Read X, Y, and Z axis acceleration values from the mindsensors Accelerometer sensor. Returns a boolean value indicating whether or not the operation completed successfully. 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.
_x The output x-axis acceleration.
_y The output y-axis acceleration.
_z The output z-axis acceleration.
_result The function call result.

Generated by  doxygen 1.6.2