Hi,
Welcome to the forum.
What are you trying to accomplish, what do you enter on the monitor and what do you expect to be sent back?
This may help.
http://forum.arduino.cc/index.php?topic=396450
Serial Input Basics
and
Serial data - how to process without blocking
Tom... ![]()