Accelerometer
Last updated
Was this helpful?
Last updated
Was this helpful?
This chapter will help us to review the configuration of the accelerometer BMA280, as well as the acelerometer component of the BMI160 on the XDK.
BMA
BMI160
The next image would help us to understand the hierachy of the XDK Sensor
Function
Effect
Accelerometer_setBandwidth()
Configures the accelerometer with the given bandwidth enumeration
Accelerometer_getBandwidth()
Returns the configured bandwidth of the accelerometer in a passed reference variable
Accelerometer_setRange()
Configures the accelerometer with the given range enumeration
Accelerometer_getRange()
Returns the configured range of the accelerometer in a passed reference variable
Accelerometer_setMode()
Configures the accelerometer with the given power mode enumeration
Accelerometer_getMode()
Returns the configured power mode of the accelerometer in a passed reference variable
Accelerometer_setSleepDuration()
Configures the accelerometer with the given sleep duration
Accelerometer_getSleepDuration()
Returns the configured sleep duration of the accelerometer in a passed reference variable