This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
When I try to print a floating point number I get message "ERROR". Why?
Here is a simple piece of my code:
float MyFloat = 3.85; UARTprintf("\n%f\n",MyFloat);
And the output message on the screen is "ERROR".
I tried to cast MyFloat, but didn't work either.
Thanks in advance!