mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 18:31:13 +03:00
Fixing an incorrect accelerometer address
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com> Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
@ -33,8 +33,8 @@
|
||||
namespace upm {
|
||||
|
||||
/* LSM303 Address definitions */
|
||||
#define LSM303_MAG 0x1E // assuming SA0 grounded
|
||||
#define LSM303_ACC 0x18 // assuming SA0 grounded
|
||||
#define LSM303_MAG 0x1E
|
||||
#define LSM303_ACC 0x19
|
||||
|
||||
/* LSM303 Register definitions */
|
||||
#define CTRL_REG1_A 0x20
|
||||
|
Reference in New Issue
Block a user