Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

accelerometer docs wrong?

ANSWERED

In the Guide pages - https://dev.fitbit.com/build/guides/sensors/accelerometer/ it says 

"...if the device is at rest, lying flat on a table, the acceleration along the Z axis should equal the acceleration of gravity (~9.8 m/s^2), and the acceleration along the X and Yaxes should be 0.

The accelerometer axes readings are provides as signed 16-bit integers, which range from -32,768 to 32,767."

 

How can the readings be 16-bit INTEGERS if they have decimal places!?

 

When I display the readings onscreen they clearly have decimal places, lots of them. I can clearly see accel.z equal to approx 9.8............. with lots of decimal places.

 

I'm in the middle of writing a logging app and was logging it to an Int16Array, I'm gonna now use a Float32Array.

Just wanted to flag this and double check.

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Thanks for the feedback! Will get this updated.

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Thanks for the feedback! Will get this updated.

Best Answer
0 Votes