projects
/
EVA-2020-02-2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #57 from pimoroni/test-tweaks-and-linting
[EVA-2020-02-2.git]
/
examples
/
compensated-temperature.py
diff --git
a/examples/compensated-temperature.py
b/examples/compensated-temperature.py
index 74b6babf103cf63c3b98da31c733a83f62a54e90..b648f57608a02c5a8a523b90a88884d545dac979 100755
(executable)
--- a/
examples/compensated-temperature.py
+++ b/
examples/compensated-temperature.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
import time
from bme280 import BME280
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
# 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
cpu_temps = [get_cpu_temperature()] * 5