Hi,
I am trying to use scanf to take the user input from the debug console for the app core.
I have added the below code snippet in my application.
But the above code does not wait for scanf and it outputs a "0" always. The output is pasted below.
press anything to scan
read_string: 0
I have tried and added the all below configs to prj.conf.
But none of the above configs worked for scanf.
However I was able to get the uart rx working via interrupt and read-fifo API and the code is mentioned below.
Please could someone help me with the correct configuration to get the scanf working on NRF5340?
Thanks and regards,
Ajit S J