While loop to infinite

This:

Reading in target Values (TV)- they are going to be calculated on the arduino

  1. looking for the master axis- the one with the longest way to go.
  2. Setting the stepsize for each depending on the master axis
  3. Putting the leading sign to it
  4. Iterating the angels depending on the stepsize

(5. Writing the vlaues to each servo)

and that code you posted are so far apart as to be completely incomparable.