NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool SetSensorDIAcclDrift ( const byte  port,
int  x,
int  y,
int  z 
)
inline

SetSensorDIAcclDrift function.

Set the Dexter Industries IMU Accl X, Y, and Z axis 10-bit drift values.

Parameters
portThe port to which the Dexter Industries IMU Accl sensor is attached. See the Input port constants group. You may use a constant or a variable.
xThe X axis 10-bit drift value.
yThe Y axis 10-bit drift value.
zThe Z axis 10-bit drift value.
Returns
The boolean function call result.
Examples:
ex_diaccl.nxc.