   kCOMM_ERROR = 000, 
   kSTATUS = 001,
   kTEMPERATURE = 002, 
-  kERR = 003,
+  kINOUTSET = 003,
   kSEND_CMDS_END, // Mustnt delete this line
 };
 
 #define STATMSG "1,"
+#define INOUTSETMSG "3,"
 #define ENDMSG ";\r\n"
 
 // Commands we send from the PC and want to recieve on the Arduino.

  pinMode(pumpPin, OUTPUT);
  pinMode(heaterPin, OUTPUT);
  dutyCycle = 0;
  setpoint = 40;
  
  temperaturePID.SetMode(MANUAL);
  temperaturePID.SetOutputLimits(0, 100);


const byte pumpPin = 2;
const byte heaterPin = 4;

unsigned long currentMillis;
unsigned long previousMillis;
byte slowCount;


// Lookup table for thermistor. Substract adcSubstract from ADC and then
// use the result as an index. Temp is in 23.1 format. Range from -5
