system
1
I've come across these "+" characters in a couple lines of code lately, like this:
Serial.println("Connection ("+String(failedCounter, DEC)+")");
I cannot find anything on what purpose these serve...can someone tell me what they mean or point me in the right direction?
TIA
MarkT
2
They are + operators. The String class defines + operation for its members to be string concatenation.
Having said that, I'd advise you to stop using the String class, it will bite you through memory leaks - causes crashes.