This commit is contained in:
James 2024-04-27 11:27:45 +01:00
parent 0991797503
commit e4395e26f7

View File

@ -361,10 +361,10 @@ bool processCellInfo(byte *data, unsigned int dataLen)
Serial.printf(">>>%s.cell.%d.voltage %f\r\n",currentName, i+1,(float)CellVolt/1000); Serial.printf(">>>%s.cell.%d.voltage %f\r\n",currentName, i+1,(float)CellVolt/1000);
} }
Serial.printf(">>>%s.max_cell_voltage: %f\r\n",currentName, (float)_cellMax / 1000); Serial.printf(">>>%s.max_cell_voltage %f\r\n",currentName, (float)_cellMax / 1000);
Serial.printf(">>>%s.min_cell_voltage: %f\r\n",currentName, (float)_cellMin / 1000); Serial.printf(">>>%s.min_cell_voltage %f\r\n",currentName, (float)_cellMin / 1000);
Serial.printf(">>>%s.difference_cell_voltage: %f\r\n",currentName, (float)(_cellMax - _cellMin) / 1000); Serial.printf(">>>%s.difference_cell_voltage %f\r\n",currentName, (float)(_cellMax - _cellMin) / 1000);
Serial.printf(">>>%s.average_cell_voltage: %f\r\n",currentName, (float)(_cellSum / NumOfCells) / 1000); Serial.printf(">>>%s.average_cell_voltage %f\r\n",currentName, (float)(_cellSum / NumOfCells) / 1000);
gotCellInfo=true; gotCellInfo=true;