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

scanf with NRF_LOG_INFO

Hello.

I have a project that use the NRF_LOG_INFO for printing messages, and it is work O.K.

Now I add a part that need also to get parameters from the terminal.

I can't make uart_init when the NRF_LOG_INFO is working because it has conflict with the uart in the sdk_config. 

So how can I use function like scanf when I to print the NRF_LOG_INFO on the some terminal?

Parents Reply
  • Thanks Vidar. I just miss this replay. 

    1. Is there any reference for example how to use NRF_UARTE1 for recieve & transmit messages?

    2. Can I use NRF_UARTE1 for receiving and still use the NRF_LOG_INFO for output debage?

    3. What do you mean by " don't need a command interface in the same terminal". I use the NRF_LOG_INFO. Is it a command interface ?

    Bar.

Children
Related