read

Dependents:   Mytemperature_Motion

Files at this revision

API Documentation at this revision

Comitter:
sharifdeens
Date:
Sun Apr 21 03:28:54 2019 +0000
Parent:
0:ab3d7d0c34ce
Commit message:
revise

Changed in this revision

TMP36.h Show annotated file Show diff for this revision Revisions of this file
diff -r ab3d7d0c34ce -r 8ac70785ed9b TMP36.h
--- a/TMP36.h	Tue Feb 12 06:23:02 2013 +0000
+++ b/TMP36.h	Sun Apr 21 03:28:54 2019 +0000
@@ -22,11 +22,16 @@
 {
 //convert sensor reading to temperature in degrees C
     return ((_pin.read()*3.3)-0.500)*100.0;
+    //  return _pin.read();
+    //  return  10;
+      
 }
 //overload of float conversion (avoids needing to type .read() in equations)
 TMP36::operator float ()
 {
 //convert sensor reading to temperature in degrees C
     return ((_pin.read()*3.3)-0.500)*100.0;
+  //  return _pin.read();
+   // return  10;
 }
            
\ No newline at end of file