Understanding MPU6050_Base::writeMemoryBlock #762
Unanswered
jmgledhill
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've gone down a rabbit hole of understanding how the MPU6050 DMP works (well at least from an end user standpoint) and i was looking through the code where the program is written to memory on the chip.
I don't understand how the I2Cdev::writeBytes knows where to write the program? it doesn't seem like MPU6050_RA_MEM_R_W is updated. It seems like through some type of magic the setMemoryBank(bank); setMemoryStartAddress(address); are used by the writebytes function to write to the correct location, but I'm having a hard time figuring this out.
any insight or reference to a page that explains this process would be really helpful.
thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions