 void heaterOn() {
   if (!heaterIsOn) {
     digitalWrite(heaterPin, HIGH);
-    Serial << STATMSG << "Turning heater on" << dutyCycle << ENDMSG;
+    Serial << STATMSG << "Turned heater on" << dutyCycle << ENDMSG;
   }
   heaterIsOn = HIGH;
 }

void heaterOff() {
  if (heaterIsOn) {
    digitalWrite(heaterPin, LOW);
    Serial << STATMSG << "Turning heater off" << dutyCycle << ENDMSG;
  }
  heaterIsOn = LOW;
}
// 30 sec
const unsigned long windowSize = 10000;


unsigned long windowStartTime;
boolean inDutyCycleMode;
boolean heaterIsOn = LOW;
boolean pumpIsOn = LOW;

void setSetPoint(int value) {
  setpoint = double(value) / 10;
