aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2022-02-11 16:10:49 -0600
committerAnthony Wang2022-02-11 16:10:49 -0600
commit336892abe36bc66410df4ba7a1ab78cdfe1b861d (patch)
treefa72c56a8cd42f3a494e08a4aaa98bbbe512fea6
parent32d9c13c02bd7327f94b4d55025c58d6688ec201 (diff)
Print voltage and conductivity
-rw-r--r--Detector-Building.ino3
1 files changed, 3 insertions, 0 deletions
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);
}