I bumped to a problem as i was playing with my arduino. I was working with serial communications on arduino. So I wrote a sketch, put a
command in loop() (I missed my inner if loop, and it runs infinitely) so now i try to upload a new program but i can't because the program keeps printing println on the serial port. Is there a way I can wipe out the program? Preferably a hardware way cause software doesn't seem to work...
P.S. I tried anything obvious (reset, unplug and replug) etc