Retrieve code and ICSP programming

Alcide

New member
Hi,
I was working on a small project and I inadvertly deleted my source code. Is there by any means, a way to retrieve the uploaded code from my Teensy 4.1?
Also, can I program my Teensy 4.1 using another board by ICSP?

Thanks for your attention.
 
You can't recreate source code from what is stored in the Teensy. but the Arduino build process does save something very close to your original source code. If your sketch was named MySketch.ino, search your disk for "MySketch.cpp", or perhaps just files that begin "MySketch", and you might something.
 
Back
Top