   addX = 0;
   addY = 0;
   double auxX=xyzp[0],auxY=xyzp[1];
-
   // si son distintos realizo calculos para corregir errores
   if(auxX!=auxY){
     if(auxX<0){auxX = auxX*-1;}

  _saveAddY=0;
  start=false;
}

void sendData(){
  Serial.print(xyzp[0]);
  Serial.print(',');

  Serial.print(',');
  Serial.println(xyzp[2]);
}
void TakeOrigin(){
  if(x==true||y==true||z==true){
    bx = digitalRead(btnX);
