aconno board support file for acd52832 device. Ver1.0

Fork of aconno_bsp by Jurica Resetar

Files at this revision

API Documentation at this revision

Comitter:
jurica238814
Date:
Wed Sep 21 11:48:29 2016 +0000
Parent:
1:345c44d48f45
Commit message:
acd52832_IR_led.

Changed in this revision

acd52832_bsp.h Show annotated file Show diff for this revision Revisions of this file
diff -r 345c44d48f45 -r 0b2820f57ca4 acd52832_bsp.h
--- a/acd52832_bsp.h	Wed Sep 21 11:47:07 2016 +0000
+++ b/acd52832_bsp.h	Wed Sep 21 11:48:29 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