 
 unsigned long windowStartTime;
 boolean inDutyCycleMode;
-boolean heaterIsOn;
+boolean heaterIsOn = LOW;
+
+void setSetPoint(int value) {
+  setpoint = double(value) / 10;
+  Serial << STATMSG << "Set setpoint to " << setpoint << ENDMSG;
+}
+    
 
 void setDutyCycle(int value) {
   // Check bounds

  Serial << INOUTSETMSG << temperature << "," << dutyCycle << "," \
	 << setpoint << ENDMSG;
}
  

void arduino_ready() {
  // In response to ping. We just send a throw-away ack to say "im alive"

  heater_msg, // 006
  setPIDonoff_msg, // 007
  getINOUTSET_msg, // 008
  changeSET_msg, // 009
  NULL
};

