Print voltage and conductivity

This commit is contained in:
Anthony Wang 2022-02-11 16:10:49 -06:00
parent 32d9c13c02
commit 336892abe3
Signed by: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -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);
}