Part Number: CC2640
Tool/software: TI-RTOS
I want to add UART debugging interface to SimpleBLECentral project.
My code in main :
const unsigned char hello[] = "Hello World\n";
UART_init();
UART_Params_init(¶ms);
params.baudRate = 115200;
params.writeDataMode = UART_DATA_BINARY;
params.readDataMode = UART_DATA_BINARY;
params.readReturnMode = UART_RETURN_NEWLINE;
params.readEcho = UART_ECHO_OFF;
handle = UART_open(Board_UART, ¶ms);
UART_write(handle, hello, sizeof(hello));
I am getting a write on the terminal. But I want to do a read option to, what is a task parameters to configure task for reading.
I will very greatful to get any example of using uart . Is there any example?
Thanks