   char temp[5];
   itoa(temperatureToInt(temperature), temp, 10);
   cmdMessenger.sendCmd(kTEMPERATURE, temp);
+  Serial << temperature;
 }
 
 void arduino_ready() {
   // In response to ping. We just send a throw-away ack to say "im alive"
-  cmdMessenger.sendCmd(kSTATUS,"Arduino ready");
+  /* cmdMessenger.sendCmd(kSTATUS,"Arduino ready"); */
 }
 
 void unknownCmd()
 {
   // Default response for unknown commands and corrupt messages
-  cmdMessenger.sendCmd(kERR,"Unknown command");
-}
-
-int measureTemperature() {
+  /* cmdMessenger.sendCmd(kERR,"Unknown command"); */
+}
+
+void measureTemperature() {
   int index = analogRead(A0) - adcSubstract;
   if (index < 0)
   {

double temperature;
double setpoint;
double dutyCycle;
PID temperaturePID(&temperature, &dutyCycle, &setpoint, 10, 0, 0, DIRECT);
  
const int adcSubstract = 51;
const int adcMax = 784;

  {
    index = adcMax;
  }
  int lookup = pgm_read_word(&temperatureTable[index]);
  temperature = double(lookup)/10.0;
}

int temperatureToInt(double temperature) {
  return int(round(10*temperature));
}

unsigned long windowStartTime;
