 
 // Elapsed Time Control
 elapsedMillis timeElapsed;
+elapsedMillis resendTimer;
 
 /**
  *  Setup

        if(((float) currentTemp) < ((float) TEMP_LOW) && currentRh <= RH_LOW)
        {
          daikin_all_off();
          timeElapsed = 0;  // reset mode-switch timer
        }
        else if(((float) currentTemp) < ((float) TEMP_LOW) && currentRh > RH_LOW)
        {
          daikin_dehumidifier_on();
          timeElapsed = 0;  // reset mode-switch timer
        }
      }


  // reset the air conditioning control
  isOn = MODE_OFF;
  resendTimer = 0;

  // needs no UART echo
  String qmoteCmd = "ATE0\r\n";
