Hi everybody! I work with Keil C251 uVision2. in my programm i want to recieve string into controller. i have an array of characters incom[20], which i use as a buffer for recieving string. i recieve current byte into variable bufIn and then replace it into my array:
1. strcat(incom, bufIn);
2. incom[i] = bufIn; i++;
for(i = 0; i < 20; i++) Print(incom[i]);