Tweaking temp compensation value
authorSandy Macdonald <sandyjmacdonald@gmail.com>
Thu, 13 Jun 2019 10:53:25 +0000 (11:53 +0100)
committerSandy Macdonald <sandyjmacdonald@gmail.com>
Thu, 13 Jun 2019 10:53:25 +0000 (11:53 +0100)
examples/compensated-temperature.py

index 87daf97896b76e6bfdb92bcafb64e62ec48e18e2..64d7a8b9bed07c020f62fd570c011be2d22989cc 100755 (executable)
@@ -25,7 +25,7 @@ def get_cpu_temperature():
     output, _error = process.communicate()
     return float(output[output.index('=') + 1:output.rindex("'")])
 
     output, _error = process.communicate()
     return float(output[output.index('=') + 1:output.rindex("'")])
 
-factor = 0.6
+factor = 0.8
 
 while True:
     cpu_temp = get_cpu_temperature()
 
 while True:
     cpu_temp = get_cpu_temperature()