   This firmware is initially loaded into the Temperature Control Laboratory Arduino. 
   The firmware scans the serial port looking for case-insensitive commands:
 
-  LED1 int  set LED1, range 0 to 255, limit to 50
   Q int     set Heater 1, range 0 to 255,  limit to 150 to prevent overheating
             (note: Q turns off Heater 2 as safety precaution)
   Q1 int    set Heater 1, range 0 to 255,  limit to 150 to prevent overheating

*/

// global variables
char Buffer[64];         // buffer for parsing serial input

// constants
const String vers = "0.1";     // version of this firmware

  }
}


// check alarms and update status on LED1
void AlarmsCheck(void) {
  if ((analogRead(pinT1) > limT1) or (analogRead(pinT2) > limT2)) {
    analogWrite(pinLED1,limLED1);
  } else {
