cancel
Showing results for 
Search instead for 
Did you mean: 

Sprintf STM32L4 not work I see just 0

bfran.1
Associate II

God moorning

I trying to view the output of sprintf of float value on the terminal I/O using nucleo stm32L4.I am using IAR. but i see just 0.

                char pippo_alb[20];

                  sprintf(pippo_alb,"%g", 27);

       

In ''project options''->''General Options''->''Library options'', ''Printf formatter'', I specify ''Large'' of ''Full''.

But don' work.

Yu can help me .

Francesco

I try to

0 REPLIES 0