 PID myPID(&Input, &Output, &Setpoint, Kp, Ki, Kd, DIRECT);
 
 // 10 second Time Proportional Output window
-int WindowSize = 10000; 
+int WindowSize = 500; 
 unsigned long windowStartTime;
 
 // ************************************************

unsigned int aTuneLookBack=20;

boolean tuning = false;

PID_ATune aTune(&Input, &Output);

void setup(void) {
  Setpoint = 55;

   }
   if (isnan(Kp))
   {
     Kp = 50;
     alreadyTuned = false;
   }
   if (isnan(Ki))
