tm3d
/
owPython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98e838
)
Vsens of DS2438
author
Tobias
<tm@tm3d.de>
Tue, 21 Feb 2017 20:22:11 +0000
(21:22 +0100)
committer
Tobias
<tm@tm3d.de>
Tue, 21 Feb 2017 20:22:11 +0000
(21:22 +0100)
owlib.py
patch
|
blob
|
history
diff --git
a/owlib.py
b/owlib.py
index
11d9deb
..
ed7396a
100644
(file)
--- a/
owlib.py
+++ b/
owlib.py
@@
-80,6
+80,8
@@
def calcValue(code,vn,V):
return exp((V[vn]-32767.0)/1000.0);
if code==16:
return V[vn]/32.0;
+ if code==17:
+ return V[vn]*0.2441/1000;
return 0;