ofey:
Hi Nick,Thanks that's much better. I am getting some strange characters in the serial monitor. I can't copy and paste them but they are the elapsed times and a backward P with two legs and a dollar sign.
On every line? Or just the first couple of characters? If it's the first couple that's pretty normal, as the USB chip tries to detect the baud rate. Try doing a Serial.println() just after the Serial.begin().