Hello everyone!
i am trying to print out a char** array but I always get red flashing back.
void parseHeader (char * line) {
static int len;
static char * tok;
static char ** call;
int i=0;
tok = strtok (line,"!?:=");
while (tok != NULL)
{
call[i]=tok;
i++;
Serial.write(tok);
Serial.write(call[0]);
tok = strtok (NULL, "!?:=");
}
}
I debugged the code above and seems to be the action of printing it.
Also tried to use pure printf() but photon compile without creating binaries.
What am I doing wrong?
Thanks!