Witch sketch is in my unit now

Is it possible to check witch program/sketch I have in a specific unit before I upload another?

Jörgen

It's always the last one you uploaded.

I usually put Serial.println("nameOfSketch"); in setup()

Without something like that there is no easy way to tell.

...R

If you are likely to need to know which sketch is currently loaded then think about doing a Serial.print() in setup() that tells you or, more complicated, blink a code using the LED on pin 13

Hi,
If you are using a display, use setup to briefly display program info.

Tom.... :slight_smile:

UKHeliBob:
If you are likely to need to know which sketch is currently loaded then think about doing a Serial.print() in setup() that tells you or, more complicated, blink a code using the LED on pin 13

That is a good idea!

Thank You!
Jörgen