Hello
I had a crash PC and I lost my program, however it is still in my card Arduino uno. How to recover it from my Arduino uno circuit via my PC? thank you
You can't recover the source code from an Arduino, but you can use avrdude to extract the binary
Thanks Awol for your reply, but what can I do with the binary code?
Flash it into another board.
Well I don't know exactly what you mean by "crash PC" but maybe this will help:
When you compile your sketch it is modified a bit by the Arduino IDE(concatenate tabs, generate function prototypes, add "#include <Arduino.h>", add line directives) and copied to the build folder. When you exit the IDE the build folder is deleted but since your PC crashed it's possible the build folder is still there if the PC crashed after you had compiled the sketch but before you had exited the IDE. An example of a build folder location on my Windows PC is C:\Users\per\AppData\Local\Temp\arduino_build_355754\sketch\sketch_dec28a.ino.cpp. You can see the build folder location if you do File > Preferences > Show verbose output during: > compilation(check) > OK and examine the console output after compiling. The cpp file found there is a bit different from your original sketch but all the source code is still there and it should be easy to resurrect your sketch from it.
Hello
My best wishes for 2017 at all.
My hard drive is dead, I can not retrieve anything on it and I do not know how to use the advice of GlobalModerator.
When you write code, it is a list of ingredients and process steps. The compiler takes your eggs, flour, salt, and milk and makes a souffle out of it. The linker bakes the souffle, and avrdude transported the souffle to the Arduino. What AWOL said was that you can get the souffle back from the Arduino, but that you can NOT get the eggs, flour, salt, and milk back from the souffle.