From 336892abe36bc66410df4ba7a1ab78cdfe1b861d Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 11 Feb 2022 16:10:49 -0600 Subject: Print voltage and conductivity --- Detector-Building.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Detector-Building.ino b/Detector-Building.ino index 6a939aa..1f3b04e 100644 --- a/Detector-Building.ino +++ b/Detector-Building.ino @@ -60,5 +60,8 @@ void loop() { double v = a2d(analogRead(THERM)); double c = 0; for (int i = order; i >= 0; --i) c = v*c + coeff[i]; + Serial.print("Voltage: "); + Serial.println(v); + Serial.print("Conductivity: "); Serial.println(c); } -- cgit v1.2.3-70-g09d2