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.

TMS320F28379D: How to enable floating-point value print?

Part Number: TMS320F28379D

Hello Everyone,

I am trying to write down a float value to SDCard but I found that %f is not supported. I read some old forum questions where some people suggest editing system configuration file like this way "System.extendedFormats = "%$L%$S%$F set in .cfg file". But in my project, I don't have any system configuration file. I am developing my code under the "sd_card_cpu01" project which is provided from TI for SD card reading. Can anyone help me how can I enable this %f format or where I have to write "System.extendedFormats = "%$L%$S%$F". Thanks in advance.

float value = 3.1416;

for(b=0; b<9; b++)
{
k += sprintf(str+k , "%.4f\t", value);
}

Kind regards

Mukesh Ghosh