From d355351431916bab251d6f5ad63820a2772df303 Mon Sep 17 00:00:00 2001 From: Ta180m Date: Sun, 9 Feb 2020 12:59:28 -0600 Subject: Update Detector_Building.ino --- Detector_Building/Detector_Building.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Detector_Building/Detector_Building.ino b/Detector_Building/Detector_Building.ino index 1933dbc..7b5a2be 100644 --- a/Detector_Building/Detector_Building.ino +++ b/Detector_Building/Detector_Building.ino @@ -12,7 +12,7 @@ // Constants -const bool CALIB = false; +const bool CALIB = true; // Calibration mode const int LED_R = 4, LED_G = 3, LED_B = 2, THERM = 0; // Device component pins const double R_k = 10000, V_in = 5, analog_max = 1023; // Device constants @@ -128,7 +128,7 @@ void loop() { if (CALIB) { Serial.print("Raw analog reading: "); Serial.print(V_raw); - Serial.print(" Voltage (V): "); + Serial.print(" Voltage (V): "); Serial.print(V_out); Serial.println(); delay(500); -- cgit v1.2.3-70-g09d2