0
\$\begingroup\$

I am using a Pro Micro, which the Arduino software for sketches identifies as Arduino Micro.

When I plugged it into power the LED lights were too bright for my eyes to handle, so I verified and then uploaded this sketch:

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:
  exit(0);
}

The problem is now the board immediately disconnects when plugged into my computer, before I can upload a new sketch onto it removing that exit(0); line of code above.

How can I reset this chip? :-( This was my first and favourite chip, so this is a painful experience.

Picture of the chip since I cannot remember where I bought it, but it was most likely a cheap Chinese one: enter image description here

\$\endgroup\$
4
  • \$\begingroup\$ arduino.stackexchange.com/questions/57651/… I understand you don't have a reset switch, but pulling RST low should be the same thing. \$\endgroup\$
    – Ron Beyer
    Feb 13, 2021 at 5:36
  • \$\begingroup\$ @RonBeyer Do you mean bridging the RST pin to the GND pin? \$\endgroup\$
    – questioner
    Feb 13, 2021 at 6:19
  • \$\begingroup\$ Yes, that's what I mean \$\endgroup\$
    – Ron Beyer
    Feb 13, 2021 at 6:27
  • \$\begingroup\$ Compile sketch. Connect, disconnect, connect, disconnect. Then press upload sketch. Is this the correct order? \$\endgroup\$
    – questioner
    Feb 13, 2021 at 21:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.