If I tell you that I don't think there is anything wrong with your code (apart from the missing code tags), WILL YOU PLEASE TELL ME WHAT THE LINE-ENDING CONTROL ON THE SERIAL MONITOR IS SET TO?
If I tell you that I don't think there is anything wrong with your code (apart from the missing code tags), WILL YOU PLEASE TELL ME WHAT THE LINE-ENDING CONTROL ON THE SERIAL MONITOR IS SET TO?