If I open the serial monitor, is it always listening? For example, I wrote a sketch that println("hello"); compiled it and ran it. The output was as expected. I then cleared the serial monitor, unplugged the USB from the board (no other power source), waited a couple of seconds and plugged the USB back in.
I was assuming that the serial monitor would still be listening and the arduino would restart when it is powered back up by the USB and it would write "hello" to the serial monitor. It is not giving any output to the serial monitor.
Do I need to restart the serial monitor from the computer somehow or do I have some sort of hardware problem?
If it is a hardware problem, how do I begin debugging this?