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

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

          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;
