Tool/software: Code Composer Studio
Hi,
Is there any method to print next value of UCA3TXBUF in next line of CCS termainal.
Can i get some help?
void main(char *data) { uart_init(); uart_baud(); UCA3IE |= UCRXIE; // Enable USCI_A3 RX interrupt while (*data != '\0') { while (!UCTXIFG); UCA3TXBUF =*data; __delay_cycles(10000); if (*data == '\n') { /*Wait for the transmit buffer to be ready*/ while (!UCTXIFG); UCA3TXBUF = '\n'; } data++; } __no_operation(); // For debugger return ; }
Best Regards,
Divya Harikumar