In what way does your request differ from the answer given in this thread?
Although I'd rather use snprintf()
to create the string instead of String
concatenation, the JSON approach seems to be what you need.
Here is another thread that might fit and shows how to use snprintf()
1 Like