Dependents:   Sensor_test

Files at this revision

API Documentation at this revision

Comitter:
lpeltoni
Date:
Tue Oct 22 07:04:24 2019 +0000
Parent:
1:924c7dea286e
Commit message:
Embedded systems project

Changed in this revision

LSM6DS3.h Show annotated file Show diff for this revision Revisions of this file
--- a/LSM6DS3.h	Mon Jun 20 19:15:31 2016 +0000
+++ b/LSM6DS3.h	Tue Oct 22 07:04:24 2019 +0000
@@ -84,7 +84,7 @@
 #define MD2_CFG               0x5F
 
 // Possible I2C addresses for the accel/gyro
-#define LSM6DS3_AG_I2C_ADDR(sa0) ((sa0) ? 0xD6 : 0xD4)
+#define LSM6DS3_AG_I2C_ADDR(sa0) ((0) ? 0xD6 : 0xD4)
 
 /**
  * LSM6DS3 Class - driver for the 9 DoF IMU