(See the README.md file in the upper level 'examples' directory for more information about examples.) This example demonstrates how to utilize UART interfaces by echoing back to the sender any data ...
Sending messages to a screen in serial console is the simplest and most common way to debug embedded programs. In Arduino projects, using Serial.print() is a standard debugging technique.