Go Down

Topic: Sketch file movement (Read 354 times) previous topic - next topic

tevernham

Is it possible to copy my sketch FROM the Arduino back to the IDE?

AWOL

Your sketch never made it to your Arduino, so no.
"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

tevernham

I was not clear.  I have my sketch in my Arduino.  I want to download the sketch from the Arduino back to the IDE.

AWOL

No, there is no sketch in the Arduino.
Your sketch was written in C++.
The AVR microcontroller on the Arduino board does not understand C++, so your sketch was compiled into AVR machine code.

What you are asking is a little like asking for your eggs back, after they've been turned into an omelette.
(well, not quite as irreversible as that, but since you had to ask the question, I simplified it a bit)
"Pete, it's a fool (who) looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

DrAzzy

You can get the compiled binary back as a hex file - you could in this way copy it to additional boards using the same processor. You cannot regenerate the code that you compiled to get that though- the information needed to do that isnt present on the board.
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Go Up