Hi,
Am using LPC55s69 EVK board, with Free-Rtos and floating point `FPv5-SP-D16 (Hard ABI)`.
In the FreeRtosConfig.h I have set this macro `configENABLE_FPU` to 1.
Basically I want to display floating numbers sent via UART.
I am storing my float number and the info that I want to send in a uint8_t buffer[], using sprintf, something like this
sprintf(buffer,"Float data:%f\r\n",3.14);
And using USART functions I send this buffer.
But on serial monitor I observe
Float data:
ie(Float data: and whitespace(0x20)
How to solve this issue
Solved! Go to Solution.
Thanks,
But since I am using Redlib, this solved my problem
Thanks,
But since I am using Redlib, this solved my problem
depending on your library used, you have to enable floating point support for the library, e.g.