       servoarray[channel-1].write(180);
       delay(ROTATION_DELAY);
     }
+    servoarray[channel-1].detach();
   }
   
 }  

    }
    delay(ROTATION_DELAY);
  }
}

// ================= PRINT FUNCTIONS ================== //

 Serial.begin(57600);
 
 setupSerialCommands();
 
 if ( IR_ON ) {     
  digitalWrite(IR_LED_LEFT,HIGH);
