Function Adxl345_getScale(struct Adxl345_Handle *, enum Adxl345Flags_DataFormat_FullResBit *)

Function Documentation

int Adxl345_getScale(struct Adxl345_Handle *handle, enum Adxl345Flags_DataFormat_FullResBit *scale)

Scale setter/getter.

The scale denotes the amount of acceleration per bit. For example: 1LSB=4mg if Adxl345Register_DataFormat_FullResBit_fullRes_4mg is configured.