 /*
   TCLab Temperature Control Lab Firmware
-  Jeffrey Kantor
-  February, 2019
+  Jeffrey Kantor, Bill Tubbs, John Hedengren
+  May 2019
 
   This firmware provides a high level interface to the Temperature Control Lab. The
   firmware scans the serial port for commands. Commands are case-insensitive. Any


// return thermister temperature in °C
inline float readTemperature(int pin) {
  return analogRead(pin) * 0.3223 - 50.0;
}

void parseCommand(void) {

  dispatchCommand();
  checkAlarm();
  updateStatus();
}
