Hi, I’m trying to build up a string that contains a date.
I have this array:
I have this time object from <Time.h>
I go get the time from the interwebs using magic
then I can Serial.print(day(pctime));
and it works great. Then I start building up my string:
strcpy(msg, "Day ");
But when I try to put the day in:
I get this message:
error: invalid conversion from ‘int’ to ‘const char*’
error: initializing argument 2 of ‘char* strcat(char*, const char*)’
Sadly, my C acumen isn’t sharp enough to figure out what any of that means.
Thank you for any insights you may have.