Hello, I'm trying to send by UART a float point number. I use "sprintf" to transform it into a string, but the program hangs after sprintf function...
{
float temp = 56.3256;
char stringTemp[7];
sprintf(stringTemp, "%f", temp);
UARTprintf("%s",stringTemp);
}
How can I fix it?
Thank you!