Part Number: MSP430FR2355
I have the following line of code:
strncat(strncat(strcpy(Send, "JA"), sysID, 4), (const char *)sensor, 1);
I am trying to concatenate an unsigned char (sensor) to the above message. Sensor looks correct coming into the message but once concatenated it changes to another value. I find that if I replace
(const char*) sensor with "0" the above works....I'm sure this has to do with strings vs char but I am not sure how to solve it?