Adxl357(I2cDevice, AccelerometerRange) Constructor
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.
Constructs a ADXL357 I2C device.
C#
public Adxl357 (System.Device.I2c.I2cDevice i2CDevice, Iot.Device.Adxl357.AccelerometerRange accelerometerRange = Iot.Device.Adxl357.AccelerometerRange.Range10G);
new Iot.Device.Adxl357.Adxl357 : System.Device.I2c.I2cDevice * Iot.Device.Adxl357.AccelerometerRange -> Iot.Device.Adxl357.Adxl357
Public Sub New (i2CDevice As I2cDevice, Optional accelerometerRange As AccelerometerRange = Iot.Device.Adxl357.AccelerometerRange.Range10G)
- i2CDevice
- I2cDevice
The I2C device used for communication.
- accelerometerRange
- AccelerometerRange
The sensitivity of the accelerometer.
Product | Versions |
---|---|
.NET IoT Libraries | 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |