aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTa180m2020-02-09 12:59:28 -0600
committerTa180m2020-02-09 12:59:28 -0600
commitd355351431916bab251d6f5ad63820a2772df303 (patch)
treef71a09b04d22e1e4a43ec5e84b3a082f7101e957
parent5d110db3210598bf24f5b0cff7463be92d52112e (diff)
Update Detector_Building.ino
-rw-r--r--Detector_Building/Detector_Building.ino4
1 files 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);