New Formula DS2438 Pressure
authorTobias <tm@tm3d.de>
Tue, 4 Jul 2017 09:40:37 +0000 (11:40 +0200)
committerTobias <tm@tm3d.de>
Tue, 4 Jul 2017 09:40:37 +0000 (11:40 +0200)
src/owDeviceConfig.cpp

index 963b3a0..00bb4b4 100644 (file)
@@ -245,6 +245,7 @@ double owDeviceConfig::calculateValueFromNumber(int code, int vn, std::vector<in
                        case 17:return V[vn]*0.2441/1000.0; break; //Vsens DS2438
                        case 18:return V[vn]/8.0;break;
                        case 19:return V[vn]/500.0*14.0;break;  //Test
+                       case 20:return V[vn]*0.5+700;break;  
                        default:return 0;
                }
 }