How to reset arduino

A week ago, I accidentally uploaded a loop code to my arduino that freezes my computer, so I can't upload new code to it, so the question is how can I reset it without uploading code

Hi @zeti_1223. Please add a reply here on this forum thread to tell us which Arduino board you are using.

Please be as specific as possible as some Arduino boards with similar names have significant differences and the forum helpers can only provide effective assistance if we are aware of which one is being used.

If you aren't sure how to describe which board you are using, you can provide the link to the online product listing you bought the board from and we'll proceed based on the information found there.

I moved your topic to an appropriate forum category @zeti_1223.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

This might work, take these steps:

Power off the board completely
Remove the USB cable
Hold down the Reset button
keep it held down (or, run a jumper wire from the RESET pin to the GND pin).
Still holding down Reset reconnect the USB cable.
Start uploading a sketch that does not have this problem (I use the Blink sketch).
When you see the Receive light blink, release the Reset button
Change your code and add a delay(3000), or more in setup(). This allows easy recovery from a serial flood.
Note: I have seen this happen several times when I flood the serial output. An indication is the TX light is stuck on. I always add a delay in setup so I can reset it and upload new code.

IDK, close the serial monitor and upload Blink?