diff --git a/sensors.py b/sensors.py index ee05bae..e1d166a 100644 --- a/sensors.py +++ b/sensors.py @@ -66,7 +66,8 @@ class Sensors: # Convert volt to celcius value def convertToCelcius(self, value): - return ((3300.0/1024.0) - 100.0) / 10.0 - 40.0 + value /= 2 + return (value * (3300.0/1024.0) - 100.0) / 10.0 - 40.0 def convertToPrintableValue(self, value): if (self.getChannelType() == 'voltage'):