From 32d9c13c02bd7327f94b4d55025c58d6688ec201 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 11 Feb 2022 15:29:14 -0600 Subject: Fix typos --- Detector-Building.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Detector-Building.ino b/Detector-Building.ino index 5a50dde..6a939aa 100644 --- a/Detector-Building.ino +++ b/Detector-Building.ino @@ -48,7 +48,7 @@ void setup() { vol[n] = a2d(analogRead(THERM)); con[n] = s.toInt(); Serial.println(n); - Serial.println((double)vol[n]); + Serial.println(vol[n]); Serial.println(con[n]); ++n; } @@ -60,5 +60,5 @@ void loop() { double v = a2d(analogRead(THERM)); double c = 0; for (int i = order; i >= 0; --i) c = v*c + coeff[i]; - Serial.println((double)c); + Serial.println(c); } -- cgit v1.2.3-70-g09d2