Skip to content

Negative values not working? #14

Description

@BorisBrock

When reading the values via readAccel(int* x, int* y, int* z), three integers are returned. But their values are never negative. Instead small negative values become huge positive numbers (e.g. 65540).

Is that supposed to happen? Am I using it wrong?

PS: I used your example code, unmodified. I compiled with PlatformIO and ran it on a SparkFun ESP32Thing.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions