Due to the U.S. Thanksgiving holiday, please expect delayed responses during the week of 11/22.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430BT5190: Sending a integer value in Tx buffer

Part Number: MSP430BT5190

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