   currentSecond = Time.second();
   if(currentSecond != previousSecond)
   {
-      Serial.println("pinVal Next second");
-      Serial.println(previousPulseCount);
-      Serial.println(pulseCount);
-      Serial.println(flowing);
-      Serial.println("-------------");
-      // setPixels(instantPulseCount);
       instantPulseCount = 0;
       if(previousPulseCount != pulseCount)
         flowing = true;

        flowing = false;
      previousPulseCount = pulseCount;
      previousSecond = currentSecond;
      Serial.println(previousPulseCount);
      Serial.println(pulseCount);
      Serial.println(flowing);
      Serial.println("================");
  }
}



void loop()
{
  pinVal(flowTapPin0, &flowTapPin0Value, flowTapPin0Name);
  pinVal(flowTapPin1, &flowTapPin1Value, flowTapPin1Name);
  pinVal(flowTapPin2, &flowTapPin2Value, flowTapPin2Name);
  
  float percent = (float)pulseCountT0 / (float)maxPulseCountT0;
  percentFullT0 = (int)(percent * 100.0f);
  if(percentFullT0 > 100)
    percentFullT0 = 100;
  // EEPROM.update(EEPROM_ADDR_PERCENT_FULL, percentFull);

  if(flowingT0)
  {
    animateTap(stripT0);
  }
  else
  {
    if(pulseCountT0 > maxPulseCountT0)
      pulseCountT0 = maxPulseCountT0;
    // EEPROM.update(EEPROM_ADDR_PULSE_COUNT, pulseCount);
    recalculateTapColor(stripT0);
  }

  if(flowingT1)
  {
    animateTap(stripT1);
  }
  else
  {
    if(pulseCountT1 > maxPulseCountT1)
      pulseCountT1 = maxPulseCountT1;
    // EEPROM.update(EEPROM_ADDR_PULSE_COUNT, pulseCount);
    recalculateTapColor(stripT1);
  }

  if(flowingT2)
  {
    animateTap(stripT2);
  }
  else
  {
    if(pulseCountT0 > maxPulseCountT2)
      pulseCountT0 = maxPulseCountT2;
    // EEPROM.update(EEPROM_ADDR_PULSE_COUNT, pulseCount);
    recalculateTapColor(stripT2);
  }
}

int resetPulseCount()
{
  // pulseCount = maxPulseCount;
  // EEPROM.update(EEPROM_ADDR_PULSE_COUNT, pulseCount);
  return 1;
}

int setCalibration(int val)
{
  // maxPulseCount = val;
  // EEPROM.update(EEPROM_ADDR_MAX_PULSE_COUNT, maxPulseCount);
}

void pinVal(int pin, int* pinValue, String pinName, int* pulseCount, 
            int* previousPulseCount, int* instantPulseCount, bool* flowing)
{
  if(digitalRead(pin) == HIGH)
  {
