Dead Pro Micro. HELP!...

HELP!

I was writing a sketch to try interrupts (first time using interrupts) and uploaded the following code to my Pro Micro:

    int SwitchPin = 3;
    
    ISR(INT0_vect)
    {
      Serial.println("INTERRUPT");
    }
    
    // the setup routine runs once when you press reset:
    void setup()
    {                
      Serial.begin(9600);
      
      bitSet(SREG,7);       // enable Global Interrupts
      bitClear(EICRA,7);
      bitSet(EICRA,6);
      bitSet(EIMSK,0);
    }
    
    // the loop routine runs over and over again forever:
    void loop()
    {
    
    }

Now when a USB cable is plugged into the Pro Micro Windows reports “USB Device Not Recognized”.

I have tried using an UNO as an ISP but avrdude reports “Yikes! Invalid device signature” (not sure if this is a result of the sketch or something else I am doing wrong)

Any suggestions on how to restore it? Or is my poor little Pro Micro dead?

What do you have connected to the Arduino? Try the Arduino with nothing attached.

If that doesn’t work, go to your Device Manager and see if it lists it there.

Have you tried restarting your computer?

codlink:
What do you have connected to the Arduino?

Nothing

codlink:
Try the Arduino with nothing attached.

See above

codlink:
If that doesn’t work, go to your Device Manager and see if it lists it there.

Device manager reports it as an unknown device.

codlink:
Have you tried restarting your computer?

Yes

Goggle “Arduino usb device not recognized”

There are lots of posts for that error and people have solved it in different ways. So, it would be redundant for me to go through all of them…

If you still have trouble after trying some of those, I would suggest posting on the Arduino forums as members there are the true Arduino “tech support.”