AnsweredAssumed Answered

Printing Floating point values to fsl_debug_console FRDM-K64F

Question asked by Michael Lyons Employee on Mar 12, 2015
Latest reply on Mar 20, 2015 by dave408

Hello,

I'm using KDS 2.0, KDSK1.1.0, PEx, with the FRDM-K64F.  I'd like to print the Floating point accelerometer values to the terminal using fsl_debug_console.  Strings and integers print fine but it seems debug_printf() doesn't support float.  I also tried

sprintf(str,"%f");

printf("%s",str);

but everything except the floating point val would print.  Is there a compiler setting that must be changed to support floating point printing?

Thanks,

Michael

Outcomes