fork of TMP102, added read_u16 functionality
Fork of TMP102 by
Revision 5:4169d23725c6, committed 2016-12-08
- Comitter:
- atarbey
- Date:
- Thu Dec 08 11:07:51 2016 +0000
- Parent:
- 4:0319e5fee951
- Commit message:
- Fix uncompatible datatype uint / int
Changed in this revision
TMP102.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0319e5fee951 -r 4169d23725c6 TMP102.h --- a/TMP102.h Thu Dec 08 10:59:34 2016 +0000 +++ b/TMP102.h Thu Dec 08 11:07:51 2016 +0000 @@ -51,7 +51,7 @@ /*! Reads the temperature register of the TMP102 */ - uint16_t read_u16(); + int16_t read_u16(); //!Reads the current temperature. /*!