Tool/software: Code Composer Studio
Hello,
We are sending integer value in Tx buffer in UART like this and convert in string using sprintf function.
int a[10]= {1,2,3,4,5,6,7,8,9,10};
char ch_md[10];
char cnt = 0;
sprintf(ch_md,"%d",a[cnt]);
cnt++;
Tx_buffer = ch_md;
Now is it ok we need read all value 1 to 10 so ch_md is good or write like this ch_md[cnt]
please suggest me
Regards
Yash shah