Compared with more powerful embedded platforms, such as the Raspberry PI, the debugging capabilities of Arduino are limited. The Arduino IDE does not provide an integrated debugger, and the Arduino board itself does not have a built-in screen. It does, however, have UART, and provides a serial interface that can be used for debugging purposes.
In this recipe, we will learn how to use the Arduino serial interface for debugging and reading user input.