hi all.
i accidentally upload this sketch (bellow) to arduino mega 2560.
it loops every 1 sec and send out a message "hi there" to USB port, prolem is now i can't upload new sketch to the board via USB port because the board it using that port to send out message, i need to factory reset the board or clear sketch in boad by harware way.
any one can help ?.
this is the sketch is uploaded:
#include <SoftwareSerial.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.print("hi there \r\n");
delay(1000);
}