rwaldron / johnny-five

JavaScript Robotics and IoT programming framework, developed at Bocoup.
http://johnny-five.io
Other
13.3k stars 1.77k forks source link

Gyro: update fixed point values to match datasheets for fractional digit accuracy #1121

Closed rwaldron closed 6 years ago

rwaldron commented 8 years ago

To better understand what needs to be done here, take a look at this example from the Thermometer class:

And the corresponding tests:

Use the digits.fractional(value) function to get the number of fractional digits in a given value.

rwaldron commented 8 years ago

Sorry for the confusion here, I filed this from a mobile device and I fat fingered a few incorrect labels.