aconno board support file for acd52832 device. Ver1.0
Dependents: acd52832_TempRead acd52832_LSM9DS1 beep beep_2 ... more
Diff: acd52832_bsp.h
- Revision:
- 2:6d9c6c231034
- Parent:
- 1:f8335dffc2f4
--- 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