SparkFun_MMA8452Q_Arduino_Library
SparkFun_MMA8452Q_Arduino_Library copied to clipboard
set scale factor in the object as well
Dear all,
First of all thanks for this library (and allowing me to add some "advanced" telemetry to the kids' waterrocket :)) I noticed when playing with the setScale() function, that the readings for getCalculatedX(), etc changed by a similar factor, which I assume shouldn't happen as they are in units of g.
Shouldn't the the "scale" factor also be set in the setScale() function in addition to the hardware configuration of the sensor itself ? That way the scale is correctly taken into account in the getCalculatedX(), .... functions. Or perhaps I'm missing something.
Cheers, bino