8 Replies Latest reply on May 21, 2019 6:26 AM by LePo_1062026

    UART printing a lower float value than the debugger is showing.

    user_3678521

      Hello,

      I'm printing my TempResult with a snprint(...) function, but it's printing the wrong value. When im debugging i get around 24 degrees, but when i print i Realterm with UART it's printing the value 18. What can be the issue here? I'm printing a float value, and before i could do that i changed the heap to 0x200 and changed newlib-nano float formating to 'True' in build settings.

      b1.PNG

      b2.png

       

      Thank you.