       XEL_servo.write(newXEL);
     }
     
-    delay(1000);
-    
-    EL_servo.detach();
-    XEL_servo.detach();
     oldnewEL = newEL;
     oldnewXEL = newXEL;
     oldEL = EL;

    {
      XEL = -65;
    }
    Serial.print("Sending EL ");
    Serial.println(EL);
    Serial.print("Sending XEL ");
    Serial.println(XEL);
    EL_servo.attach(10);
    XEL_servo.attach(9);
    
    int newEL = map(EL, -90, 90, 152, 30);
    int newXEL = map(XEL, -90, 90, 28, 160);

    if(newEL - oldnewEL > 10)
    {

boolean Transmit = false;
int pos = 0;
int pos2 = 0;
int oldEL = 5;
int oldXEL = 5;
int oldnewEL = 91;
int oldnewXEL = 84;
int index = 0;

uint32_t stickone[] = {0,1,2,3,4,5,6,7};
