This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Data through UART has string

I am trying to send a string from the board through uart to the PC(windows) through usb-ttl. I tried using adruino and was able to successfully execute it. but when i tried with nrf it is not recognizing the input. I think the issue is with the data type. How can I send the data as a string from board to uart.

char tx_data[] = {'1'};

app_uart_put(tx_data[0]');

tried this but am not getting any response

Related