I have the following:
[CODE] P1OUT |= BIT0; strcpy(Send, (const char *)radioID);Code:char *mssg, junk, CRC_char[2], sensor = 0xFF, sysID[4] = {SYSTEM_ID}, \ Send[BUFFER_SIZE] = {[0 ... BUFFER_SIZE-1] = 0xFF}, radioID[4];
mssg = strncat(mssg, "JR", 2);
[CODE]
a breakpoint at line 1 reveals as expected, Send is full '\0'. A breakpoint at line three does not.
Send contains radioID ...1,2,3,4 BUT also 0xB2 and 0x2F....Can someone explain?
Thanks