 
 //milliseconds for the init cycle, so temperature samples get stabilized
 //this should be in the order of the 5 minutes: 5*60*1000==300000
-#define INIT_TIMEOUT 30000
+//for now, I will use 1 minute
+#define INIT_TIMEOUT 60000
 elapsedMillis initTimer;
 
 //milliseconds to leave the fan on when the target temp has been reached

  // int fan = D0;
  // int heat = D1;
  // int cold = D2;
  return coldTesting*4 + heatTesting*2 + fanTesting*1;
}

/*******************************************************************************

}

/*******************************************************************************
 * Function Name  : myDigitalWrite
 * Description    : writes to the pin and sets a variable to keep track
                    this is a hack that allows me to system test the project
                    and know what is the status of the outputs
 * Return         : void
 *******************************************************************************/
void myDigitalWrite(int input, int status){
  digitalWrite(input, status);
  if (input == fan){
    fanOutput = status;
  }
  if (input == heat){
    heatTesting = status;
