Changes
1 changed files (+2/-2)
-
-
@@ -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 @@ double V_out = a2d(V_raw); // Convert analog to digitalif (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);
-