diff options
author | Ta180m | 2020-02-09 12:59:28 -0600 |
---|---|---|
committer | Ta180m | 2020-02-09 12:59:28 -0600 |
commit | d355351431916bab251d6f5ad63820a2772df303 (patch) | |
tree | f71a09b04d22e1e4a43ec5e84b3a082f7101e957 | |
parent | 5d110db3210598bf24f5b0cff7463be92d52112e (diff) |
Update Detector_Building.ino
-rw-r--r-- | Detector_Building/Detector_Building.ino | 4 |
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); |