 void loop()
 {
   sampleTimeLeft = sampleTime - millis();
+  printTimeLeft = printTime - millis();
   pidUpdateTimeLeft = pidUpdateTime - millis();
   heaterOnTimeLeft = heaterOnTime - millis();
   heaterPeriodTimeLeft = heaterPeriodTime - millis();

  return min(1.0, max(0.0, tempChange * TEMP_TO_DUTY_SLOPE + TEMP_TO_DUTY_OFFSET));
}

void heaterOn()
{
	digitalWrite(HEATER_PIN, HIGH);

	}
};

#define ROLLING_AVG_DATA_POINTS 100
#define TEMP_AVERAGING_INITIAL_VALUE (float)21
class RollingAverage
{
