From: Tobias Date: Tue, 21 Feb 2017 20:22:11 +0000 (+0100) Subject: Vsens of DS2438 X-Git-Url: http://git.smho.de/gw/?p=owPython.git;a=commitdiff_plain;h=5c17c358b982f59df9cda2ff155152c1742fe909 Vsens of DS2438 --- diff --git a/owlib.py b/owlib.py index 11d9deb..ed7396a 100644 --- 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;