projects
/
EVA-2020-02-2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
786bc3c
)
Fix in lieu of #1
author
Phil Howard
<phil@gadgetoid.com>
Mon, 17 Jun 2019 11:19:44 +0000
(12:19 +0100)
committer
Phil Howard
<phil@gadgetoid.com>
Mon, 17 Jun 2019 11:19:44 +0000
(12:19 +0100)
examples/luftdaten.py
patch
|
blob
|
blame
|
history
diff --git
a/examples/luftdaten.py
b/examples/luftdaten.py
index b7f0565e21f2e0ea48edbc97954ae381c01b61f2..4d3d49acd87a86dae17d79f51981f67d75fc261a 100755
(executable)
--- a/
examples/luftdaten.py
+++ b/
examples/luftdaten.py
@@
-62,7
+62,7
@@
def read_values():
values["P2"] = str(pm_values.pm_ug_per_m3(2.5))
values["P1"] = str(pm_values.pm_ug_per_m3(10))
except ReadTimeoutError:
values["P2"] = str(pm_values.pm_ug_per_m3(2.5))
values["P1"] = str(pm_values.pm_ug_per_m3(10))
except ReadTimeoutError:
- pms5003
= PMS5003
()
+ pms5003
.reset
()
pm_values = pms5003.read()
values["P2"] = str(pm_values.pm_ug_per_m3(2.5))
values["P1"] = str(pm_values.pm_ug_per_m3(10))
pm_values = pms5003.read()
values["P2"] = str(pm_values.pm_ug_per_m3(2.5))
values["P1"] = str(pm_values.pm_ug_per_m3(10))