Skip to main content
bfran.1
Associate III
February 1, 2021
Question

Sprintf STM32L4 not work I see just 0

  • February 1, 2021
  • 0 replies
  • 471 views

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

This topic has been closed for replies.