diff options
author | Ta180m | 2020-02-22 08:08:23 -0600 |
---|---|---|
committer | Ta180m | 2020-02-22 08:08:23 -0600 |
commit | cb17e030e5c1ca047637af04234c827e5da08c2b (patch) | |
tree | dc87accb35cf5fe0f559c4bda807ea216a8c08f0 | |
parent | e37834a82810c399a754d5ce8ff1c87543f55507 (diff) |
Update Detector_Building_v2.ino
-rw-r--r-- | Detector_Building_v2/Detector_Building_v2.ino | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Detector_Building_v2/Detector_Building_v2.ino b/Detector_Building_v2/Detector_Building_v2.ino index 2ea0636..e28c92b 100644 --- a/Detector_Building_v2/Detector_Building_v2.ino +++ b/Detector_Building_v2/Detector_Building_v2.ino @@ -34,18 +34,15 @@ void setup() { sort(V, n); sort(T, n); - /*Serial.print(log(v2r(0.1))); - Serial.print(" "); - Serial.print(log(v2r(4.9))); - Serial.println();*/ - double x[n], y[n]; for (int i = 0; i < n; i++) x[i] = log(v2r(V[i])) - 5; for (int i = 0; i < n; i++) y[i] = 1 / c2k(T[i]); /*for (int i = 0; i < n; i++) { + Serial.print("("); Serial.print(x[i], 12); - Serial.print(" "); + Serial.print(", "); Serial.print(y[i], 12); + Serial.print(")"); Serial.println(); }*/ for (int i = 0; i < m; i++) { @@ -123,9 +120,9 @@ void loop() { Serial.print(" Temperature (°C): "); Serial.print(C); // For reference - //Serial.print(" Temperature (°F): "); - //Serial.print(F); - /*Serial.print(" s: "); + /*Serial.print(" Temperature (°F): "); + Serial.print(F); + Serial.print(" s: "); Serial.print(s); Serial.print(" logR: "); Serial.print(logR);*/ |