Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

multiple MPU9250  #18

Copy link
Copy link
@robintzeng

Description

@robintzeng
Issue body actions

Hi, I want to read the 0x68 and 0x69 alternatively(0x68 , 0x69 ,0x68 ,0x69 .....)
,so i adjust the mympu_open function
from
int mympu_open(unsigned int rate)
to
int mympu_open(unsigned int rate,int device )
(To change the device , the (int device) in the function will be switched between 0 and 1 )
When I put int mympu_open(unsigned int rate,int device ) into loop
, everything goes wrong .i can't read anything anymore !!

How should i do to read alternatively ??

thanks !!

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.