           break;
         case 'A':
           if (dataIn > 360) { //vel A
-            dataOut[0] = dataIn + 1500000;
+            dataOut[completo] = dataIn + 1500000;
           }
           else { //abs A
-            dataOut[0] = dataIn * (100800 / 360) + 16500000;
+            dataOut[completo] = dataIn * (100800 / 360) + 16500000;
           }
           Serial.print(tag);
           completo = 6;

          break;
        case 'E':
          if (dataIn > 360) { //vel E
            dataOut[0] = dataIn + 11500000;
          }
          else { //abs E
            dataOut[0] = dataIn * (100800 / 360) + 20500000;
          }
          Serial.print(tag);
          completo++;
          break;
        case 's':
          dataOut[0] = 15500000;
          Serial2.print(dataOut);
          completo = 6;
          break;
        case 'z':
          switch (dataIn) {
            case 1:
              dataOut[0] = 4500000;
              completo = 6;
              break;
            case 2:
              dataOut[0] = 5500000;
              completo = 6;
              break;
            case 3:
              dataOut[0] = 12500000;
              completo = 6;
              break;
            case 4:
              dataOut[0] = 13500000;
              completo = 6;
              break;
            case 5:
              dataOut[0] = 14500000;
              completo = 6;
              break;
            default:

          break;
        case 'D':
          if (dataIn > 360) { //vel D
            dataOut[completo] = dataIn + 9500000;
          }
          else { //abs D
            dataOut[completo] = dataIn * (100800 / 360) + 19500000;
          }
          Serial.print(tag);
          completo = 6;
