I have created a new VisualGDB project using the Embedded project wizard, MSBuild, mbed, and the LEDBlink sample project. I added two printf statements to main as shown below. I am using a Nucleo-L432KC board from ST. The problem is that the second printf statement doesn’t print anything. The first printf works fine and prints 1. Please help.
int main()
{
for (;;)
{
printf(“%d\t”, 1);
printf(“%f\r\n”, 1.5f);
g_LED = 1;
wait_ms(500);
g_LED = 0;
wait_ms(500);
}
}