Get my code back from the arduino onto another computer

Hi everyone! i had written a code and uploaded it to my Uno. About two months later, my computer screen leaked its LCD and now I need the code. is there a way to get the code onto a different computer from the Uno, or do I even need to do anything? Thanks.

Your code is lost, unless you can recover the files from your old computer's hard drive.

It is possible to copy the binary data from a Uno onto another Uno but this can only ever copy exactly what is there. You can't make any changes.

FYI - The Arduino doesn't contain C++, it contains machine code compiled from "human readable" C++.

pritjam:
is there a way to get the code onto a different computer from the Uno

No, but as MorganS said, you could still get the code from your old computer.

Take the hard drive from the old computer and get one of these.
$_1.JPG
Then plug it into your new computer.

pritjam:
or do I even need to do anything?

Perhaps you could wait until the magic pixies do it for you?

Paul

pritjam:
, or do I even need to do anything? Thanks.

The program that is in the Arduino will keep working unless you overwrite it with a new program using your new computer.

...R