Asked — Edited

Mpu9150 And Ezsdk In C#

I am trying to use the 4 in 1 sensor from the ezb and get the information in C# through the use of the SDK.

I had hopes that there would be a sample project for this sensor but I couldn't find one. I know you have to first initialize the sensor. Does anyone know the command to initialize the sensor? I assume once it initialized, I will be able to get the bytes that are returned.

Any help would be beneficial.

Thanks! David


ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

#1  

I do believe you just have to use the I2C commands : Link.

As for initializing, you want to use the values read at level as offsets to mark what is true zero.

PRO
Synthiam
#3  

Download the latest EZ-SDK. There is an MPU module class included in the EZ_B namespace.