   if (brdStatus > 0) {
     Q2 = max(0, min(limQ2, pv));
     analogWrite(pinQ2, Q2);
-    Serial.println(Q2);
   }
 }
 

  String data = read_.substring(idx+1);
  data.trim();
  pv = data.toInt();
}

// dispatch commands
void CommandDispatch(void) {
  // process commands
  if (cmd == "Q") {
    setHeater1(pv);
    setHeater2(pv);
  }
  else if (cmd == "Q1") {
    setHeater1(pv);
  }
  else if (cmd == "Q2") {
    setHeater2(pv);
  }
  else if (cmd == "T1") {
    float mV = (float)analogRead(pinT1) * (3300.0/1024.0);

  }
  // shutdown
  else if ((cmd == "X") or (cmd.length() > 0)) {
    Serial.println("TClab in Sleep Mode. Please reset.");
    setHeater1(0);
    setHeater2(0);
    brdStatus = 0;
