new Formula
authorTobias <tm@tm3d.de>
Thu, 1 Feb 2018 17:28:38 +0000 (18:28 +0100)
committerTobias <tm@tm3d.de>
Thu, 1 Feb 2018 17:28:38 +0000 (18:28 +0100)
src/owDeviceConfig.cpp

index 5322668..1703957 100644 (file)
@@ -280,6 +280,10 @@ double owDeviceConfig::calculateValueFromNumber(int code, int vn, std::vector<in
                        case 20:return V[vn]*0.5+700;break;  
                        case 21:return V[vn]+1280; break;  
                        case 22:return V[vn]*10;break;
+                       case 23:return V[vn]*0.025+700.0;break;
+                       case 24:return V[vn]*1.1/1024.0;break;
+                       case 25:return V[vn]*3.0/1024.0;break;
+                       case 26:return V[vn]*5.0/1024.0;break;
                        default:return V[vn];
                }
 }