LPS331 library forked with I2C address to 0xBA
Dependents: Skywire_Demo_3 Skywire_Kinetis_K64_demo Skywire_Demo Skywire_Demo
Fork of LPS331 by
Revision 2:8a7744c5fb42, committed 2015-02-25
- Comitter:
- youngj
- Date:
- Wed Feb 25 02:52:47 2015 +0000
- Parent:
- 1:f70e671b008f
- Commit message:
- Add low and high addresses definitions and default to high address
Changed in this revision
LPS331.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/LPS331.h Fri Oct 10 04:37:48 2014 +0000 +++ b/LPS331.h Wed Feb 25 02:52:47 2015 +0000 @@ -8,7 +8,9 @@ #ifndef LPS331_H_ #define LPS331_H_ -#define LPS331_ADDR 0xB8 +#define LPS331_ADDR_L 0xB8 +#define LPS331_ADDR_H 0xBA +#define LPS331_ADDR LPS331_ADDR_H #define LPS331_REF_P_XL 0x08 #define LPS331_REF_P_L 0x09 #define LPS331_REF_P_H 0x0A