What have you get the line ending set to in the Serial monitor ?
Why are you reading from Serial before you know that anything is available ?
What have you get the line ending set to in the Serial monitor ?
Why are you reading from Serial before you know that anything is available ?