This commit is contained in:
ZK 2024-05-21 20:17:02 +08:00
parent 83989d8e40
commit 4aa117841f
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ void loop(void)
for (int i = 0; i < LINE_COUNT; i++) for (int i = 0; i < LINE_COUNT; i++)
{ {
points[i][count % point_count] = uint16_t(abs(ina.readShuntCurrent() - 0.0026f) * 50) + 65; points[i][count % point_count] = -uint16_t(abs(ina.readShuntCurrent() - 0.0026f) * 50) + 65;
// points[1][count % point_count] = -uint16_t(ina.readBusVoltage() * 5) + 65; // points[1][count % point_count] = -uint16_t(ina.readBusVoltage() * 5) + 65;
} }
++count; ++count;