3 Replies Latest reply on Jun 5, 2017 3:15 PM by Intel Corporation

    How to print a float value on the minicom -s terminal when Intel Curie BSP is mounted on it?

    Parwana

      Dear Sir,

           How to print a float value on the minicom -s terminal when Intel Curie BSP is mounted on it?

      Can we use

      float float_value;

      printf("%f\n",float_value);  // I tried this no O/P is coming corresponding to this

       

      or,Can we use

      cu_print("%f\n",float_value);  //this I also tried but it is not printing float values---- it is able to print decimal values I mean cu_print("%d\n",int_value);  is working well

       

      or,Can we use

      pr_info();   //If...then how?

      or

      else what we can use so that our Intel Curie BSP C1000 mounted on minicom -s terminal will be able to print the float values on the minicom -s terminal using USB1 port of CPU??

       

      Please try to help me as soon as possible.(Urgently)

       

      Thanks and Regards:

      Parwana Shahdi