 
 //variables needed to calculate average
 int adc_12v_total = 0;                         
-int adc_5v_total = 0;
 int adc_vswr_forward_total = 0;
 int adc_vswr_return_total = 0;
 
 // average values
 int adc_12v_average = 0;                  
-int adc_5v_average = 0;
 int adc_vswr_forward_average = 0;
 int adc_vswr_return_average = 0;
 

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

{
  //startup
  
  //enable all relais on start first 230V, then 12V
  setRelais230v(true);
  getTemperature();  // #1 (3 measurements needed due to averaging)
  delay(2000);
  getTemperature();  // #2
  delay(2000);
  getTemperature();  // #3
  setRelais12v(true);
  delay(4000);

  Timer1.attachInterrupt(checkLimits); //bind function to timer interrupt
  
  char inBytes[20]; 
   
  //main Loop
  while(true){
    
    //read commands comming through USB Serial Interface
    if (Serial.available() > 0){
