Code ID

Modified on Wed, 4 Jan, 2023 at 6:40 PM

You can identify the running program on your Arduino by assigning a Code ID (name + version) to your program:

  • HC_codeName(name) 
  • HC_codeVersion(version)


The string parameters name and version must be declared and placed in the Program (Flash) Memory by using "const ... PROGMEM" keywords.

Example

Refer to this example : Code ID.






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article