Hi all... Just wondering if there is a way to find out which sketch is currently running on a particular board.
I thought about putting a statement in the sketch to print the name to the Serial Monitor but I'd have to load the sketch to see it and then I'd know which sketch it is anyway.
I have 8 arduinos at present and some are sitting for awhile and I'd just like to know what sketch is currently installed. Anyway of doing that?
I'd have to load the sketch to see it and then I'd know which sketch it is anyway.
No need to load anything into the IDE. Open the Serial monitor with any program (or no program) loaded in the IDE and see the output from the program running on the Arduino. Most Arduinos are reset when the Serial monitor is opened but you can always press the reset button to start the program again.
In setup along with the obvious Serial.begin() and it will print to the serial monitor on reset the filename and it's date & time stamp of the file compiled and uploaded.
UKHeliBob:
No need to load anything into the IDE. Open the Serial monitor with any program (or no program) loaded in the IDE and see the output from the program running on the Arduino. Most Arduinos are reset when the Serial monitor is opened but you can always press the reset button to start the program again.
Thankyou... this information is all that I needed. Most helpful.