NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int SensorMIXG1300LScale ( byte  port)
inline

SensorMIXG1300LScale function.

Read the Microinfinity CruizCore XG1300L accelerometer scale. The accelerometer in the CruizCore XG1300L can be set to operate with a scale ranging from +/-2G, +/-4G, or +/-8G. Returns the scale value that the device is currently configured to use. The port must be configured as a Lowspeed port before using this function.

Parameters
portThe sensor port. See the Input port constants group.
Returns
The current scale value.
Examples:
ex_xg1300.nxc.