Dependents: BLE_HTM_HRM1017_test
Fork of TMP102 by
Revision 5:4f93ab5a1414, committed 2016-12-15
- Comitter:
- s1211
- Date:
- Thu Dec 15 02:18:36 2016 +0000
- Parent:
- 4:b6cf7ae661c8
- Commit message:
- ;
Changed in this revision
TMP102.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b6cf7ae661c8 -r 4f93ab5a1414 TMP102.cpp --- a/TMP102.cpp Wed Dec 14 05:47:58 2016 +0000 +++ b/TMP102.cpp Thu Dec 15 02:18:36 2016 +0000 @@ -23,7 +23,7 @@ #include "TMP102.h" -#define TEMP_REG_ADDR 0x77 +#define TEMP_REG_ADDR 0x00 TMP102::TMP102(PinName sda, PinName scl, int addr) : m_i2c(sda, scl), m_addr(addr) {