th

Dependents:   condato_Coldchainlogger condato_Coldchainlogger

Revision:
2:374faf195af3
Parent:
1:601e1435dfb8
--- a/Thermistor.h	Wed Mar 09 13:56:37 2016 +0000
+++ b/Thermistor.h	Thu Jul 09 15:56:36 2020 +0000
@@ -78,13 +78,13 @@
 #include "mbed.h"
 
 
-#define THERMISTORNOMINAL 100000      // 100k default 
+#define THERMISTORNOMINAL 10000      // 100k default 
 // temp. for nominal resistance (almost always 25 C)
-#define TEMPERATURENOMINAL 25   
+#define TEMPERATURENOMINAL 25
 // The beta coefficient of the thermistor (usually 3000-4000)
 #define BCOEFFICIENT 3950
 // the value of the 'other' resistor
-#define SERIESRESISTOR 4700    
+#define SERIESRESISTOR 4700
   
 
 class Thermistor {
@@ -93,7 +93,7 @@
     /** Receives a PinName variable.
      * @param pin mbed pin to which the thermistor is connected
      */
- 
+
 
     float get_temperature();
     /**  This is the workhorse routine that calculates the temperature