From 76859f851dc42c1b1e56c7457710dc3d021a40e3 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sat, 31 Oct 2020 17:01:33 -0700 Subject: [PATCH] printing --- firmware/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/main.cpp b/firmware/main.cpp index 866bff1..5770c50 100644 --- a/firmware/main.cpp +++ b/firmware/main.cpp @@ -56,7 +56,7 @@ int main() { }*/ while(1) { - size_t writeCount = chsnprintf(strBuffer, 200, "%.4f\t%.2f\n", GetNernstDc() * 1000, GetSensorInternalResistance()); + size_t writeCount = chsnprintf(strBuffer, 200, "%.4f\t%.2f\t%.2f\n", GetSensorInternalResistance(), nernstVolt, GetPumpNominalCurrent()); uartStartSend(&UARTD1, writeCount, strBuffer); chThdSleepMilliseconds(5);