[Serial issue] Exact same code wont work on Mega, but works with Uno

Robin2's serial input basics tutorial may be of interest.