Ak8963.ReadMagnetometerWithoutCorrection Method

Definition

Overloads

ReadMagnetometerWithoutCorrection(Boolean, Nullable<TimeSpan>)

Read the magnetometer without Bias correction and can wait for new data to be present

ReadMagnetometerWithoutCorrection(Boolean, TimeSpan)

Read the magnetometer without Bias correction and can wait for new data to be present

ReadMagnetometerWithoutCorrection(Boolean, Nullable<TimeSpan>)

Read the magnetometer without Bias correction and can wait for new data to be present

public System.Numerics.Vector3 ReadMagnetometerWithoutCorrection (bool waitForData = true, TimeSpan? timeout = default);
member this.ReadMagnetometerWithoutCorrection : bool * Nullable<TimeSpan> -> System.Numerics.Vector3
Public Function ReadMagnetometerWithoutCorrection (Optional waitForData As Boolean = true, Optional timeout As Nullable(Of TimeSpan) = Nothing) As Vector3

Parameters

waitForData
Boolean

true to wait for new data

timeout
Nullable<TimeSpan>

timeout for waiting the data, ignored if waitForData is false

Returns

The data from the magnetometer

Remarks

Vector axes are the following: +X \ | / \ | / \|/ /|\ / | \ / | \ +Z +Y

Applies to

ReadMagnetometerWithoutCorrection(Boolean, TimeSpan)

Read the magnetometer without Bias correction and can wait for new data to be present

public System.Numerics.Vector3 ReadMagnetometerWithoutCorrection (bool waitForData, TimeSpan timeout);
member this.ReadMagnetometerWithoutCorrection : bool * TimeSpan -> System.Numerics.Vector3
Public Function ReadMagnetometerWithoutCorrection (waitForData As Boolean, timeout As TimeSpan) As Vector3

Parameters

waitForData
Boolean

true to wait for new data

timeout
TimeSpan

timeout for waiting the data, ignored if waitForData is false

Returns

The data from the magnetometer

Remarks

Vector axes are the following: +X \ | / \ | / \|/ /|\ / | \ / | \ +Z +Y

Applies to