   for (int thisReading = 0; thisReading < ADC_READINGS; thisReading++){
     adc_12v[thisReading] = 0;
     adc_5v[thisReading] = 0;
-    adc_swr_front[thisReading] = 0;
-    adc_swr_back[thisReading] = 0;          
+    adc_vswr_forward[thisReading] = 0;
+    adc_vswr_return[thisReading] = 0;
   }
   
   Timer1.initialize(50000); //timer Interrupt every 20ms

    
    //Handle Transmitter Temperature
    if (temperature_tx_average >= TEMP_TX_LIMIT_HIGH){
      digitalWrite(RELAIS_12V, LOW);
      relais_12v = false;
      overTemperatureTx = true;  //needed to ensure that ADC doesn't enable the 12V again
    }
    if (temperature_tx_average <= TEMP_TX_LIMIT_LOW){
      overTemperatureTx = false;
      if ((overTemperatureCabinet == false) && (error_12v == false)){
        digitalWrite(RELAIS_12V, HIGH);
        relais_12v = true;
      }
    }

    //Handle Cabinet Temperature
    if (temperature_cabinet_average >= TEMP_CABINET_LIMIT_HIGH){
      digitalWrite(RELAIS_12V, LOW);
      relais_12v = false;
      overTemperatureCabinet = true;  //needed to ensure that ADC doesn't enable the 12V again
    }
    if (temperature_cabinet_average <= TEMP_CABINET_LIMIT_LOW){
      overTemperatureCabinet = false;
      if ((overTemperatureTx == false) && (error_12v == false)){
        digitalWrite(RELAIS_12V, HIGH);
        relais_12v = true;
      }
    }
  }
  else{

  Serial.print("[");  

  Serial.print("{'tx_overheat': ");
  if(overTemperatureTx){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }
  Serial.print("},");

  Serial.print("{'cabinet_overheat': ");
  if(overTemperatureCabinet){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }
  Serial.print("}");
  
  Serial.print("{'error_12v': ");
  if(error_12v){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }
  Serial.print("},");
    

  Serial.print("{'error_5v': ");
  if(error_5v){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }  Serial.print("},");

  Serial.print("{'error_vswr': ");
  if(error_vswr){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }  Serial.print("},");

  
  Serial.print("{'12v_relais': ");
  if(relais_12v){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }  
  Serial.print("},");  
  
  Serial.print("{'relais_5v': ");
  if(relais_5v){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }  
  Serial.print("},");
  
  Serial.print("{'relais_230v_phase': ");
  if(relais_230v_phase){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }  
  Serial.print("},");
  
  Serial.print("{'relais_230v_neutral': ");
  if(relais_230v_neutral){
    Serial.print("true");
  }
  else{
    Serial.print("false");
  }  
  Serial.print("}");
  
  Serial.print("]");  

}




//Check input from Serial Interface and execute commands
void checkSerialInput(char inBytes[5]){
  int counter = 0;
  switch (inBytes[0]){
    case 't': {
      printTemperatures();
      break;
