Function Adxl345_getRange(struct Adxl345_Handle *, enum Adxl345Flags_DataFormat_Range *)

Function Documentation

int Adxl345_getRange(struct Adxl345_Handle *handle, enum Adxl345Flags_DataFormat_Range *range)

Range setter/getter.

The range specifies which bandwidth of acceleration the sensor is going to measure (i.e. +/-4g).