NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool ReadSensorMIXG1300L ( byte  port,
XGPacketType packet 
)
inline

ReadSensorMIXG1300L function.

Read Microinfinity CruizCore XG1300L values. Read accumulated angle, turn rate, and X, Y, and Z axis acceleration values from the Microinfinity CruizCore XG1300L 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
portThe sensor port. See the Input port constants group.
packetThe output XK1300L data structure. See XGPacketType.
Returns
The boolean function call result.
Examples:
ex_xg1300.nxc.