 boolean timeToRead(int loopCount)
 {
   boolean takeReading = false;
-  // @todo: Make 5000 constant: 
-  int countModulo = loopCount % 500;
 
-  Serial.print("countModulo = ");
-  Serial.println(countModulo);
+  // Take initial reading
+  if (loopCount == 1) {
+    takeReading = true;
+  }
 
-  if (countModulo == 0) {
+  int countModulus = loopCount % sampleRate;
+  if (countModulus == 0) {
     takeReading = true;
   }
   return takeReading;


void setup()
{
  Serial.begin(19200);

  // LEDs to indicate moisture reading
  pinMode(ledPinRed1, OUTPUT);

    digitalWrite(ledPinRed1, LOW);
  }

  // Status: Yellow
  if (voltage > 0.5 && voltage <= 4.0)
  {
    digitalWrite(ledPinYellow1, HIGH);
    Serial.println("ledPinYellow1 = HIGH (ON)");

    // Turn off all the other LEDs
    digitalWrite(ledPinGreen1, LOW);
    digitalWrite(ledPinGreen2, LOW);
    digitalWrite(ledPinGreen3, LOW);

    digitalWrite(ledPinYellow2, LOW);
    digitalWrite(ledPinYellow3, LOW);

    digitalWrite(ledPinRed1, LOW);
  }

  // Status: Red
  if (voltage >= 0.0 && voltage <= 0.5)
  {
    digitalWrite(ledPinRed1, HIGH);
