This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What should I change if I use scanf("%c",&chr);

What should I change in 

#pragma import(__use_no_semihosting_swi)
#include "stm32f4xx.h"
#include <stdio.h>

struct __FILE { int handle; /* Add whatever you need here */ };
FILE __stdout;
FILE __stdin;

int fputc(int ch, FILE *f) {
return (ITM_SendChar(ch));
}

if I use scanf("%c",&chr); especialy in this part what is bolded

struct __FILE { int handle; /* Add whatever you need here */ };