This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS570LS0714: I can print formatted message via SCI to hyper terminal by using built-in vsnprintf(), but does it support float output and with width or precision ?

Part Number: TMS570LS0714

Tool/software: TI C/C++ Compiler

Dear All

I know how to use printf function to print message to console it is very helpful . 

Then I referred to this post:   

I succeeded to  print some formatted message via SCI, for example:("%d\r",123456789) ("%c  %s  %%  %o\r",'a',"bcd" ,8) 

But I find that when I tried to print float value, it failed. And I guess this method did not  support formatted print with width or precision, am I right?

I'd like to know if there are some skills to improve this as I can print float to console, I dont understand why vsnprintf() failed.

Thank you very much.

Best regards

Leo