Skip to content

set scale factor in the object as well#14

Open
binomaiheu wants to merge 2 commits into
sparkfun:mainfrom
binomaiheu:master
Open

set scale factor in the object as well#14
binomaiheu wants to merge 2 commits into
sparkfun:mainfrom
binomaiheu:master

Conversation

@binomaiheu
Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant