rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty string when using the sprinft() for float variables.

sergey3778 opened this issue · comments

Hi.
I got a problem while using the function sprintf(), when I was trying to output a float variable. The problem first appeared after using the dtostrf() function. If I add a float variable, I get an empty string as a result.
Variables of type int are fine. As soon as the identifier "f" or "lf" appears in the arguments of the sprintf() function, after that sprintf() returns an empty string.
I am using the Arduino_STM32-master library in the Arduino IDE 2.0.3. Board type STM32F4VE.
Help me please. The third day, nothing happens.