Set the line-ending in serial monitor to No Line Ending.
Or start using a better approach based on Serial Input Basics - updated.
Set the line-ending in serial monitor to No Line Ending.
Or start using a better approach based on Serial Input Basics - updated.