I wrote a line in the loop to Serial.println("Hello World") to test the console. I have since loaded a new sketch multiple times, however, after opening the Serial Monitor, "Hello World" is still being printed as if the code was still within my loop function. :o
OSEPP Uno R3 Plus
When a sketch floods the Serial output it can be very hard to upload a new sketch. Are you sure your new sketch is being successfully uploaded?
To upload over a sketch that floods the Serial output:
- Hold down the reset button on the Arduino.
- Unplug the USB cable. This causes the PC to flush the USB receive buffers.
- Re-connect the USB cable. (by continuing to hold the reset button we prevent new flooding)
- Begin the new sketch upload.
- WHEN THE RX LED ON THE ARDUINO BLINKS: release the reset button.