 #define BAUDRATE 115200
 #define FLOAT_PRECISION_DIGITS 9
 #define FLOAT_DELTA 1e-20
-#define MAXCOMMANDS 12
+#define MAXCOMMANDS 14
 
 //Voltage sensing
 #define ADC_CHANNEL_VOLTAGE 0

#define V_MIN (-V_REF/2.0 + DELTA_V)
#define V_MAX ( V_REF/2.0 - DELTA_V)

//SerialCommand parser
SerialCommand SCmd(MAXCOMMANDS);

//Sample Timer
Timer SampleTimer;

  SCmd.addCommand("VSWEEP.RAMP",   setSweepRampCommand);
  SCmd.addCommand("VSWEEP.SAMPLE", setSweepSampleRateCommand);
  SCmd.addCommand("VSWEEP.CYCLES", setSweepCyclesCommand);
  
  SCmd.addCommand("ABORT!", nullCommand);

  SCmd.setDefaultHandler(unrecognizedCommand);
  //add commands that are only valid during an active sweep
  SweepSCmd.addCommand("ABORT!", sweepAbortCommand);
  
  Serial.print(F("#<INIT>\n"));
  //start up the SPI bus
  SPI.begin();
