Sketch Name as Variable


hello

does know if there way insert sketch name variable @ time of compiling?

i working on 10 matching projects in different locations, , hoping way put sketch name (which includes our revision number) char array, upon startup name sketch programmed on arduino printed lcd.

thanks

i don't know. did try __name__?

edit:
almost there.  xd __file__ constant:
http://www.lemoda.net/c/line-file-func/


Arduino Forum > Using Arduino > Programming Questions > Sketch Name as Variable


arduino

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support