First of all, I am a noob when it comes to programming boards such as the Digispark, but I am not a noob with windows or other programming languages. I have a x64 Windows 10 machine. I have the original Digispark board. I installed all the correct drivers and everything worked correctly. I even made my first program for it and it worked flawlessly. I set up my Digispark as a HID Keyboard. After a couple small programs I decided to look on the web for some "Digispark USB Rubber Duck" scripts. I found one at this link:
https://pentestit.de/digispark-die-usb-rubber-ducky-alternative-teil2/I then went into Arduino and published the code to my Digispark board.
Now here's what's wrong, Now whenever I plug in my Digispark I get a notification stating "USB device not recognized. The last USB device you connected malfunctioned."
Can someone look at the code on the website I linked and see why my board doesn't work anymore? And is there anyway to fix or reset my board?
I've looked everywhere to see if there is a way to wipe the code or even the bootloader to the board and start fresh but the Orginal Digispark has no reset button or pins apparently.
Pls Help I don't want to have to wait 2 weeks for another one to ship.