8 Replies Latest reply on Jan 21, 2015 10:46 PM by ben.satkiewicz

    sprintf (MyVar, "%f", float_data)

    ben.satkiewicz

      Hi,

         

      I am having a problem writing a floating point value to the UART. I read about an issue at the link below, and my problem likely is related somehow .

         

      http://www.cypress.com/?app=forum&id=2492&rID=86619

         

      The problem is that the UART terminal does not respond at all when attempting to write floating point data to it. This happens even if you set the compiler to not use the nano libraries.

         

      I know my UART setup is working because integers and ASCII strings print flawlessly.

         

      Thanks for any suggestions or workarounds.