snprintf() Outputs Empty String
check if you are using nanolib (-specs=nano.specs in Project properties > C/C++ Build > Settings > Tool Settings (TAB) > MCU GCC Linker > Miscellaneous > Linker flags)
If it is the case, you need to enable float printf :
-specs=nano.specs -u _printf_float
Regards,
Tarek