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.

MSP430FR2475: sprintf not working

Part Number: MSP430FR2475


Tool/software:

I am trying to print a floating point number to a string, as follows:

                res = 12.456;
                sprintf(rms_volts,"%f",res);
Under project properties / MSP430 Compiler / Advanced Options / Language / --printf support options I have set full. I have nor issues reported when I run Debug but the code above results in the string rms_volts being empty. Does anyone have a suggestion?

**Attention** This is a public forum