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
Adding a couple of new examples
[EVA-2020-02-2.git]
/
library
/
enviroplus
/
gas.py
diff --git
a/library/enviroplus/gas.py
b/library/enviroplus/gas.py
index 4f61940a5eb17feee2196f88f56615e9811cfd0a..e5fbdd94555edacd32bffb19e81e5508a72d5fd5 100644
(file)
--- a/
library/enviroplus/gas.py
+++ b/
library/enviroplus/gas.py
@@
-20,9
+20,9
@@
class Mics6812Reading(object):
self.nh3 = nh3
def __repr__(self):
self.nh3 = nh3
def __repr__(self):
- return """Oxidising: {:05.02f}
-Reducing: {:05.02f}
-NH3: {:05.02f}
+ return """Oxidising: {:05.02f}
Ohms
+Reducing: {:05.02f}
Ohms
+NH3: {:05.02f}
Ohms
""".format(self.oxidising, self.reducing, self.nh3)
__str__ = __repr__
""".format(self.oxidising, self.reducing, self.nh3)
__str__ = __repr__