How to copy sketch from the arduino

Please is there a way to copy the sketch uploaded to the arduino back to the pc?

Why you need to copy code from arduino to pc? If its open source then find the source and download it to pc.

This has been discussed several times on the forum, try the search feature at the top of the page.

.

surepic:
Why you need to copy code from arduino to pc? If its open source then find the source and download it to pc.

Ya, I know its open source but i did a lot of editing to suit my taste. and now the UNO is working fine but the edited code is nowhere to be found on my pc. I dont know whether i have mistakenly deleted it or saved with different file name..

and its a hell to re-sketch the whole project again while i still have a working arduino having this very sketch sleeping in it.

Often a sketch is better when written a second time from scratch. :slight_smile:

Some info at this link;

How to copy sketch from the arduino

srnet:
Some info at this link;

How to copy sketch from the arduino

I don't know why, but lmgtfy is seriously broken for me.

Hi,
Just a chance,
In the IDE
Select File, select Open Recent and check there.

Do you know where your code is stored on your PC?

Tom.. :slight_smile:

The compiler is like a food processor. You've taken eggs, milk, flour, salt, and pepper, whirred them together, and made a souffle. You've baked that. You can get the souffle back from the Arduino. You can not get the eggs, milk, flour, salt, and pepper back from the souffle.

Better to make another souffle.

PaulS:
The compiler is like a food processor. You've taken eggs, milk, flour, salt, and pepper, whirred them together, and made a souffle. You've baked that. You can get the souffle back from the Arduino. You can not get the eggs, milk, flour, salt, and pepper back from the souffle.

Better to make another souffle.

Alright. Thank you, Have already gone the long way round. this time have to do serious backup of all my sketches