SenseHatMagnetometer(I2cDevice, MagneticInductionScale) Constructor
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.
Constructs SenseHatMagnetometer instance
public SenseHatMagnetometer (System.Device.I2c.I2cDevice i2cDevice = default, Iot.Device.Lsm9Ds1.MagneticInductionScale magneticInduction = Iot.Device.Lsm9Ds1.MagneticInductionScale.Scale04G);
public SenseHatMagnetometer (System.Device.I2c.I2cDevice? i2cDevice = default, Iot.Device.Lsm9Ds1.MagneticInductionScale magneticInduction = Iot.Device.Lsm9Ds1.MagneticInductionScale.Scale04G);
new Iot.Device.SenseHat.SenseHatMagnetometer : System.Device.I2c.I2cDevice * Iot.Device.Lsm9Ds1.MagneticInductionScale -> Iot.Device.SenseHat.SenseHatMagnetometer
Public Sub New (Optional i2cDevice As I2cDevice = Nothing, Optional magneticInduction As MagneticInductionScale = Iot.Device.Lsm9Ds1.MagneticInductionScale.Scale04G)
Parameters
- i2cDevice
- I2cDevice
I2C device used to communicate with the device
- magneticInduction
- MagneticInductionScale
Magnetic induction
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