Method of reading from DS1825 thermometer, including the OneWire method. Specific for the use of just 1 sensor.

Dependencies:   OneWire

Dependents:   Inductive_Sensor Inductive_Sensor_Jasper Inductive_Sensor_3

Revision:
1:ef7e5efc8794
Parent:
0:abb33be87221
--- a/DS1825.h	Thu Mar 24 16:26:24 2016 +0000
+++ b/DS1825.h	Wed Sep 21 14:24:28 2016 +0000
@@ -12,8 +12,10 @@
 */
 
 #include "mbed.h"
+#include "mbed_debug.h"
 #include "OneWire.h"
 
+
 class DS1825 {
     public:
         DS1825(PinName pin);
@@ -24,6 +26,9 @@
 
     private:
         bool validateTemperature(uint8_t data[9]);
+        void convertTemperature( void );
+        
+        uint32_t lastconversion;
 
 };