Skip to content

Wrong version read? #15

Open
Open

Description

@EinSoldiatGott

Hi, are you sure you're reading the version in this line?

/* Check product revision. */
if (i2c_read(st->hw->addr, st->reg->accel_offs, 6, data))

How can you get the version from the offset??
Also, the accel_offs is = 0x06, but this register doesn't exists in the MPU6050

image

In the Mpu6500 the address is correct 0x77 but why do you read the version from the offset?
image

Thanks

Activity

  1. gregd72002 commented on May 17, 2016

    @gregd72002
    Contributor

    Well, having looked into it this is nothing to do with revision but to do with configuration of the accelerometer. The code is partially based on an early version of the official library. Not sure why it is called 'rev'. It might be something that is known to the internal development team only.

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

Metadata

Metadata

Assignees

No one assigned

    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