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;
class owDS2438(owDevice):
def setdefaultConfig(self):
- self.config=[1,6, 6,8, 4,7, 7,17, 0,2,3,12,4,0,0,0,0,0,0,0,0,0,0,0]
+ self.config=[1,6, 6,8, 4,7, 6,17, 0,2,3,12,4,0,0,0,0,0,0,0,0,0,0,0]
def readScratchpad(self,page,recall):
if (recall):