Adxl357 Class
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.
I2C Accelerometer ADXL357
public class Adxl357 : IDisposable
type Adxl357 = class
interface IDisposable
Public Class Adxl357
Implements IDisposable
- Inheritance
-
Adxl357
- Implements
Constructors
Adxl357(I2cDevice, AccelerometerRange) |
Constructs a ADXL357 I2C device. |
Fields
DefaultI2CAddress |
The default I2C address of ADXL357 device |
Properties
Acceleration |
Gets the current acceleration in g. Range depends on the AccelerometerRange passed to the constructor. |
AccelerometerRange |
Gets or sets the sensitivity of the accelerometer. |
Temperature |
Gets the current temperature in °C. Range is from −40°C to +125°C. |
Methods
CalibrateAccelerationSensor(Int32, Nullable<TimeSpan>) |
Calibrates the accelerometer.
You can override default |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
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