X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/23cf04451d7cb0d6acf6b4b55bd3f57d11c6cc24..c8bf56890d0e7b6e7e1993e164f14d55d72f9544:/examples/compensated-temperature.py?ds=sidebyside diff --git a/examples/compensated-temperature.py b/examples/compensated-temperature.py index 74b6bab..b648f57 100755 --- a/examples/compensated-temperature.py +++ b/examples/compensated-temperature.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import time from bme280 import BME280 @@ -38,7 +38,7 @@ def get_cpu_temperature(): # Tuning factor for compensation. Decrease this number to adjust the # temperature down, and increase to adjust up -factor = 0.8 +factor = 2.25 cpu_temps = [get_cpu_temperature()] * 5