diff options
-rw-r--r-- | Detector-Building.ino | 4 |
1 files 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); } |