Ak8963.ReadMagnetometerWithoutCorrection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for