Beispiel #1
0
 /// <summary>
 /// Initializes the magnetometer.
 /// </summary>
 /// <param name="slaveAddress">The I2C slave address of LSM303D.</param>
 public Lsm303dMagnetometer(int slaveAddress)
 {
     _lsm303d = new Lsm303d(slaveAddress);
 }
 /// <summary>
 /// Initializes the accelerometer.
 /// </summary>
 /// <param name="slaveAddress">The I2C slave address of LSM303D.</param>
 public Lsm303dAccelerometer(int slaveAddress)
 {
     _lsm303d = new Lsm303d(slaveAddress);
 }
Beispiel #3
0
 /// <summary>
 /// Initializes the magetometer.
 /// </summary>
 public Lsm303dMagnetometer()
 {
     _lsm303d = new Lsm303d();
 }
 /// <summary>
 /// Initializes the accelerometer.
 /// </summary>
 public Lsm303dAccelerometer()
 {
     _lsm303d = new Lsm303d();
 }