How to erase current program from Arduino

Thread Starter

Suchita Sriramka

Joined Apr 4, 2017
10
I currently uploaded a small program on my arduino but now I want to erase it and get it back as if it were new. Is it possible? If so then how to do it?
 

djsfantasi

Joined Apr 11, 2010
9,237
The only way I know of to erase the current program on an Arduino, is to load a new program into it.

If you are using the Arduino IDE, select a new sketch from the menu. The IDE loads a skeletal sketch, which compiles and is a suitable sketch to load to erase the current program.
 

Thread Starter

Suchita Sriramka

Joined Apr 4, 2017
10
The only way I know of to erase the current program on an Arduino, is to load a new program into it.

If you are using the Arduino IDE, select a new sketch from the menu. The IDE loads a skeletal sketch, which compiles and is a suitable sketch to load to erase the current program.
Yes I got it. Thanks djsfantasi
 
Top