X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/a36c0e8d8d94eae0353e5bff14ac837e17139671..56fa663cd5be0e5e326a368365a16d0170570c74:/examples/compensated-temperature.py 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