Open rtek1000 opened 6 years ago
Thanks!
I wanna merge your code after fix some bugs.
Could you send me a Pull Request?
in calcGyroOffsets function why did you read from 0x3B 14bytes, as I see you need only gyroscope data so you can read from 0x43 6 bytes.
In file MPU6050_tockn.cpp the first switch (accel)
should be switch (gyros)
.
In file MPU6050_tockn.cpp the first
switch (accel)
should beswitch (gyros)
.
Done! Thank you!
in calcGyroOffsets function why did you read from 0x3B 14bytes, as I see you need only gyroscope data so you can read from 0x43 6 bytes.
Let's do this, according to the record map, you're correct!
Thank you!
https://www.invensense.com/wp-content/uploads/2015/02/MPU-6000-Register-Map1.pdf
Thanks! I wanna merge your code after fix some bugs. Could you send me a Pull Request?
Sorry for the delay my friend,
I made some corrections as it was suggested,
If I have time again, I will try to learn how to do a pull request,
Thank you!
Just made a similar patch (see pull requests).
Thank you ver much fpr extending the files for using two sensors at once on I"C bus. Unfortunately a mini test program compiles perect but the upload stops near the end.
Are there any tweaks neccessary in the modified libraries or where can I get actual libraries which are tested with two sensors used?
Uups! Sorry! - The Flash Issue is resolved: AVR-Dude doesn't like "!" .... I added a few and removed them .... I try to get two sensors run in parallel. I hope it'll work as well as id does with one sensor only! - Thanky you very, very much for your library!
Modifications at setup:
Modifications MPU6050_tockn.h:
Modifications MPU6050_tockn.ccp: