Hello all. I'm new to the forum and enjoying what I've learned so far. I have picked up a couple kits that include arduino compatible boards and a preloaded sketch. before I make changes with sketches of my own, I'd like to view the preloaded sketch first. How can I view a sketch that is already loaded on an arduino board?
How can I view a sketch that is already loaded on an arduino board?
Very simply, you can't.
Once it is on the arduino it is no longer the sketch you wrote but machine code that the complier has generated from your sketch.
It's very common for Arduinos to ship with a simple 'blink' sketch installed. There is an blink sketch in the examples included with the IDE. It may not be exactly the same sketch that was originally loaded, but it's probably similar.