   Particle.variable("pulseCntT0", &T0.pulseCount, INT);
   Particle.variable("perFullT0", &T0.percentFull, INT);
 
-  // Particle.variable("maxPCntT1", &maxPulseCountT1, INT);
-  // Particle.variable("instPCntT1", &instantPulseCountT1, INT);
-  // Particle.variable("pulseCntT1", &pulseCountT1, INT);
-  // Particle.variable("perFullT1", &percentFullT1, INT);
-
-  // Particle.variable("maxPCntT2", &maxPulseCountT2, INT);
-  // Particle.variable("instPCntT2", &instantPulseCountT2, INT);
-  // Particle.variable("pulseCntT2", &pulseCountT2, INT);
-  // Particle.variable("perFullT2", &percentFullT2, INT);
+  Particle.variable("maxPCntT1", &T1.maxPulseCount, INT);
+  Particle.variable("instPCntT1", &T1.instantPulseCount, INT);
+  Particle.variable("pulseCntT1", &T1.pulseCount, INT);
+  Particle.variable("perFullT1", &T0.percentFull, INT);
+
+  Particle.variable("maxPCntT2", &T2.maxPulseCount, INT);
+  Particle.variable("instPCntT2", &T2.instantPulseCount, INT);
+  Particle.variable("pulseCntT2", &T2.pulseCount, INT);
+  Particle.variable("perFullT2", &T2.percentFull, INT);
 
   //cloud functions - handle a cloud POST(data)
   //curl https://api.particle.io/v1/devices/<device_id>/post \

  {
    if(T2.pulseCount > T2.maxPulseCount)
      T2.pulseCount = T2.maxPulseCount;
    // EEPROM.update(EEPROM_ADDR_PULSE_COUNT, pulseCount);
    recalculateTapColor(2);
  }
}

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);
  return 1;
}


  
  pinMode(ledPin, OUTPUT);
  
  //read any objects set in the EEPROM
  EEPROM.get(EEPROM_ADDR_T0, T0);
  EEPROM.get(EEPROM_ADDR_T1, T1);
  EEPROM.get(EEPROM_ADDR_T2, T2);

  //https://api.particle.io/v1/devices/<device_id>/<variable_name>?access_token=<access_token>
  Particle.variable("maxPCntT0", &T0.maxPulseCount, INT);
