   {
       T1.instantPulseCount = 0;
       if(T1.previousPulseCount != T1.pulseCount)
+      {
         T1.flowing = 1;
+        Particle.publish("start-flow-T1", String(T1.maxPulseCount) + "," + String(T1.pulseCount) + "," + String(T1.percentFull));
+      }
       else
+      {
         T1.flowing = 0;
+        // Particle.publish("stop-flow-T1", String(T1.maxPulseCount) + "," + String(T1.pulseCount) + "," + String(T1.percentFull));
+      }
       T1.previousPulseCount = T1.pulseCount;
       T1.previousSecond = T1.currentSecond;
   }

  {
      T0.instantPulseCount = 0;
      if(T0.previousPulseCount != T0.pulseCount)
        T0.flowing = 1;
      else
        T0.flowing = 0;
      T0.previousPulseCount = T0.pulseCount;
      T0.previousSecond = T0.currentSecond;
  }

  pinValT1();
  pinValT2();

  // Serial.println("pulseCountT0: " + String(T0.pulseCount));
  // Serial.println("pulseCountT1: " + String(T1.pulseCount));
  // Serial.println("pulseCountT2: " + String(T2.pulseCount));
  
  
  float percentT0 = (float)T0.pulseCount / (float)T0.maxPulseCount;
