aconno board support file for acd52832 device. Ver1.0

Dependents:   acd52832_TempRead acd52832_LSM9DS1 beep beep_2 ... more

Files at this revision

API Documentation at this revision

Comitter:
jurica238814
Date:
Thu Sep 22 11:38:18 2016 +0000
Parent:
1:f8335dffc2f4
Commit message:
acd52832 LSM9DS1 example

Changed in this revision

acd52832_bsp.h Show annotated file Show diff for this revision Revisions of this file
diff -r f8335dffc2f4 -r 6d9c6c231034 acd52832_bsp.h
--- a/acd52832_bsp.h	Mon Sep 19 13:48:43 2016 +0000
+++ b/acd52832_bsp.h	Thu Sep 22 11:38:18 2016 +0000
@@ -59,8 +59,8 @@
  *  Control bits are added by nrf_drv_twi
 */
     #define TWI_EXPANDER_ADDR                           (0x40)  //Port expander address
-    #define TWI_AG_ADDR                                 (0x6A)  //Accelerometer/Gyroscope address
-    #define TWI_MAG_ADDR                                (0x1C)  //Magnetometer address
+    #define TWI_AG_ADDR                                 (0x6A << 1)  //Accelerometer/Gyroscope address
+    #define TWI_MAG_ADDR                                (0x1C << 1)  //Magnetometer address
 
     /**
      *  Define structure used by bluetooth library