fork of TMP102, added read_u16 functionality

Fork of TMP102 by Chris Styles

Files at this revision

API Documentation at this revision

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
--- 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.
   /*!