ExtSens corr

This commit is contained in:
lexa
2021-06-29 18:28:23 +03:00
parent 04a4e06bf6
commit 171cde53d8

View File

@@ -78,7 +78,7 @@ void loop() {
//v = sensorValue * 0.004659498;
//batteryPcnt = ((v-3.0) * 100) / 1.2;
//sendBatteryLevel(batteryPcnt);
if(nRun == 3){
if(nRun++ == 3){
sendData(msgTemp, tempRM.getMedian(), 1);
sendData(msgHum, humRM.getMedian(), 1);
sendData(msgVolts, v, 2);