testing lowerMemory Ussssage

This commit is contained in:
richonguzman
2024-05-30 16:27:07 -04:00
parent e63d54d9f0
commit a87cc0be58
7 changed files with 114 additions and 52 deletions

View File

@@ -222,10 +222,26 @@ namespace BME_Utils {
humStr = "..";
}
presStr = generatePresString(newPress + (Config.bme.heightCorrection/CORRECTION_FACTOR));
fifthLine = "BME-> " + String(int(newTemp + Config.bme.temperatureCorrection))+"C " + humStr + "% " + presStr.substring(0,4) + "hPa";
wx = ".../...g...t" + tempStr + "r...p...P...h" + humStr + "b" + presStr;
fifthLine = "BME-> ";
fifthLine += String(int(newTemp + Config.bme.temperatureCorrection));
fifthLine += "C ";
fifthLine += humStr;
fifthLine += "% ";
fifthLine += presStr.substring(0,4);
fifthLine += "hPa";
wx = ".../...g...t";
wx += tempStr;
wx += "r...p...P...h";
wx += humStr;
wx += "b";
wx += presStr;
if (wxModuleType == 3) {
wx += "Gas: " + String(newGas) + "Kohms";
wx += "Gas: ";
wx += String(newGas);
wx += "Kohms";
}
return wx;
}