X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/476a391afd0fdced2c3e0294dd3efded0e57a7b7..34aec98724f8c0e6fa5a20f509744809234bf319:/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