You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example code works fine on Mega2560, but it won't work when integrated in my own code.
At first I was lured into debug mpu_init() because it always return error code until the return value in example is printed out.
Then I found that the calling order of dmp_enable_feature() and mpu_set_dmp_state() in example may be wrong because when I made the mpu_set_dmp_state() last call in mympu_open () it worked.
The big question is why the example works fine ...
The text was updated successfully, but these errors were encountered:
On Fri, 28 Apr 2017 at 11:26, yaofei zheng ***@***.***> wrote:
The example code works fine on Mega2560, but it won't work when integrated
in my own code.
At first I was lured into debug mpu_init() because it always return error
code until the return value in example is printed out.
Then I found that the calling order of dmp_enable_feature() and
mpu_set_dmp_state() in example may be wrong because when I made the
mpu_set_dmp_state() last call in mympu_open () it worked.
The big question is why the example works fine ...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#16>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAJ4NjTDp2tpVGVVMHgoNw5vzAmM-EWfks5r0b7IgaJpZM4NLUMQ>
.
The example code works fine on Mega2560, but it won't work when integrated in my own code.
At first I was lured into debug
mpu_init()
because it always return error code until the return value in example is printed out.Then I found that the calling order of
dmp_enable_feature()
andmpu_set_dmp_state()
in example may be wrong because when I made thempu_set_dmp_state()
last call inmympu_open ()
it worked.The big question is why the example works fine ...
The text was updated successfully, but these errors were encountered: