Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have an MPU6050 that I'm trying to write a library for.
https://store.invensense.com/datasheets/invensense/MPU-6050_DataSheet_V3%204.pdf[^]

It reads data from it's sensors and stores the values in specific register addresses. I want to be able to read from a specific register but I can't find anything on how to do this in the UWP I2Cdevice or the providers.

Has anyone got any ideas?

Thanks

(PS: I'd rather do it in c++, too)

What I have tried:

C#
device.Read(byteArrayThatReadsEverythingInOneHit);

But this is slow so I have to re-read often ~:S
Posted
Updated 26-Feb-19 11:29am

1 solution

Quote:
Then the master puts the registeraddress (RA) on the bus. After the MPU-60X0 acknowledges the reception of the register address, the master puts the registerdata onto the bus
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900