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

I have an MPU6050 that I'm trying to write a library for.[^]

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?


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

What I have tried:


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

1 solution

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