posmoveinput = Serial.parseFloat();
What is that doing in Robin2's code? His code reads a character at a time.