Browse Source

Merge pull request #30 from RobotGrrl/master

Fixed register address names for LIS2MDL_OFFSET
master
Kris Winer 7 years ago committed by GitHub
parent
commit
3923a6a3ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      EM7180_LSM6DSM_LIS2MDL_LPS22HB_Butterfly/LIS2MDL.h

10
EM7180_LSM6DSM_LIS2MDL_LPS22HB_Butterfly/LIS2MDL.h

@ -18,11 +18,11 @@
//Register map for LIS2MDL' //Register map for LIS2MDL'
// http://www.st.com/content/ccc/resource/technical/document/datasheet/group3/29/13/d1/e0/9a/4d/4f/30/DM00395193/files/DM00395193.pdf/jcr:content/translations/en.DM00395193.pdf // http://www.st.com/content/ccc/resource/technical/document/datasheet/group3/29/13/d1/e0/9a/4d/4f/30/DM00395193/files/DM00395193.pdf/jcr:content/translations/en.DM00395193.pdf
#define LIS2MDL_OFFSET_X_REG_L 0x45 #define LIS2MDL_OFFSET_X_REG_L 0x45
#define LIS2MDL_OFFSET_X_REG_L 0x46 #define LIS2MDL_OFFSET_X_REG_H 0x46
#define LIS2MDL_OFFSET_X_REG_L 0x47 #define LIS2MDL_OFFSET_Y_REG_L 0x47
#define LIS2MDL_OFFSET_X_REG_L 0x48 #define LIS2MDL_OFFSET_Y_REG_H 0x48
#define LIS2MDL_OFFSET_X_REG_L 0x49 #define LIS2MDL_OFFSET_Z_REG_L 0x49
#define LIS2MDL_OFFSET_X_REG_L 0x4A #define LIS2MDL_OFFSET_Z_REG_H 0x4A
#define LIS2MDL_WHO_AM_I 0x4F #define LIS2MDL_WHO_AM_I 0x4F
#define LIS2MDL_CFG_REG_A 0x60 #define LIS2MDL_CFG_REG_A 0x60
#define LIS2MDL_CFG_REG_B 0x61 #define LIS2MDL_CFG_REG_B 0x61

Loading…
Cancel
Save