download code from arduino to computer?

Hey all, is it possible to get the code off of the arduino board and save it to a hard drive? As in, I wrote the code and uploaded it with computer one, but can I take the arduino over to computer two and upload the code from the arduino?


You can use AVRDUDE to transfer the program from the Arduino to your hard drive. It will be the compiled, executable version of your program, not the source code for it.

so I won't be able to edit it?

Correct, you will not be able to edit it.

Well, technically, you could edit it, but you almost certainly do not want to do that, since it is not source code.