How to delete code on Arduino board

I want to delete code on Arduino board. How to do it? How to clear the sketch in a Arduino? How to erase Arduino sketch?

Answer

You can delete the existing code on Arduino board by uploading the bare minimum code to Arduino.

void setup() { } void loop() { }

After uploading the above code to Arduino board, the Arduino board do nothing, just like there is no code on Arduino board.

Buy Arduino

1 × Arduino UNO Buy on Amazon
1 × USB 2.0 cable type A/B Buy on Amazon
1 × Jumper Wires Buy on Amazon
Disclosure: Some links in this section are Amazon affiliate links. If you make a purchase through these links, we may earn a commission at no extra cost to you.
Additionally, some links direct to products from our own brand, DIYables.

The Best Arduino Starter Kit

※ OUR MESSAGES