hi
how can i read formatted input from standard input( instead of scanf )what function can i use to read
hi
how can i read formatted input from standard input( instead of scanf )what function can i use to read
I honestly don't know what you want to do, but I'm guessing you want to parse strings.
If that's the case then I, like @awneill, suggest you take a look at the CLI library as it parses strings sent over UART:
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_cli.html
i want to do the similar thing in nordic using termite
char ch[80]; int n; int array[3] ={peripheral 1 ,peripheral 2,peripheral 3}; printf ("enter the peripheral number whom you want to send the msg"); scanf("%d", n); printf("enter the message you want to send"); scanf("%s", ch);
using termite
Again, termite is irrelevant - as far as the Nordic chip is concerned, it's just about bytes sent & received via the UART.
See above post about "retargetting" (or "retargeting")
using termite mean uart .
how to do that ?
using termite mean uart
No, it doesn't.
using termite mean uart
No, it doesn't.