diff options
author | Anthony Wang | 2022-02-11 15:29:14 -0600 |
---|---|---|
committer | Anthony Wang | 2022-02-11 15:29:14 -0600 |
commit | 32d9c13c02bd7327f94b4d55025c58d6688ec201 (patch) | |
tree | 57efa18f04f48eead1a25f802f125af0cc111265 /Detector-Building.ino | |
parent | 484a9fcbdb1e545be8395c70deed57c175ba804a (diff) |
Fix typos
Diffstat (limited to 'Detector-Building.ino')
-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); } |