From c3886cffa999c877d12a0616df1f6ab5a2822b69 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 26 Apr 2024 12:55:24 +0100 Subject: [PATCH] cell index 1 --- ESPBMS.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESPBMS.ino b/ESPBMS.ino index 9c3e09b..48c09fb 100644 --- a/ESPBMS.ino +++ b/ESPBMS.ino @@ -343,7 +343,7 @@ bool processCellInfo(byte *data, unsigned int dataLen) _cellMin = CellVolt; } - Serial.printf("%s Cell %d Voltage: %f\r\n",currentName, i,(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);