#define ReadSensorMSTilt ( _port,
_i2caddr,
_x,
_y,
_z,
_result   )     __ReadSensorMSTilt(_port, _i2caddr, _x, _y, _z, _result)

Read mindsensors tilt values.

Read X, Y, and Z axis tilt values from the mindsensors tilt 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 tilt.
_y The output y-axis tilt.
_z The output z-axis tilt.
_result The function call result.

Generated by  doxygen 1.6.2