I am making an Arduino alarm. This is the error:
exit status 1
invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
Here is the code that triggers it:
lcd.print("0"+hours+":"+minutes);
This code is similar, but worked before:
String none="00";
lcd.print(none+":"+none+":"+minutes);
I can post the full code if you need it. How can this be fixed?