I hope this answers your question. I'm not sure of the limitations of println.
I'm using this code with an Arduino.
But I do know the println does work with a string like "The time is:" and it does work with a local buffer containing my time & date as follows:
"%02d:%02d %02d/%02d/%4d", hour(), minute(), month(), day(), year().
If I add my text in the buffer like this, it does also work perfect:
"The time is: %02d:%02d %02d/%02d/%4d", hour(), minute(), month(), day(), year()
Does type String have a method that can append a char array to its value? |
I'll have to research this.