Characteristic Locus
Inheritance System.Object > Mpu6050
Inherited Members System.Object.ToString() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone()
Namespace Meadow.Foundation.Sensors.Motion
Assembly Mpu6050.dll

Syntax

public class Mpu6050

Constructors

View Source

Mpu6050(II2cBus, Byte)

Declaration
public Mpu6050(II2cBus bus, byte address = 104)

Parameters

Type Name Description
II2cBus bus
System.Byte address

Properties

View Source

AccelerationX

Declaration
public int AccelerationX { get; }

Property Value

Type Description
System.Int32
View Source

AccelerationY

Declaration
public int AccelerationY { get; }

Property Value

Type Description
System.Int32
View Source

AccelerationZ

Declaration
public int AccelerationZ { get; }

Property Value

Type Description
System.Int32
View Source

Address

Declaration
public byte Address { get; }

Property Value

Type Description
System.Byte
View Source

GyroX

Declaration
public int GyroX { get; }

Property Value

Type Description
System.Int32
View Source

GyroY

Declaration
public int GyroY { get; }

Property Value

Type Description
System.Int32
View Source

GyroZ

Declaration
public int GyroZ { get; }

Property Value

Type Description
System.Int32
View Source

Temperature

Declaration
public int Temperature { get; }

Property Value

Type Description
System.Int32

Methods

View Source

Refresh()

Declaration
public void Refresh()
View Source

Wake()

Declaration
public void Wake()