My Arduino Leonardo is looping
I uploaded a code that is causing a runtime error, with that the arduino starts, receives an error and restarts. That way there is no time to upload a new code, because when I try to upload the new code it already restarts and when doing this, windows disconnects and reconnects the leonardo.
I tried to record via USB UART, but I couldn't find in the forum how to connect the DTR pin to Leonardo boards.
How to solve this problem?
Can you help me?