brainexe / node-metawear

nodejs library for MetaWear devices
28 stars 12 forks source link

Accelerometer: Implement correct scaling #7

Closed brainexe closed 8 years ago

brainexe commented 8 years ago

The metawear device supports g-ranges for 2 to 16g. The default is 2g. Depending on this range, we have to scale the result to the correct output value. The current range is stored in "accRange"

The reference values can be found in the java source