I am using the TI-SDK sdk_4_30_00_54 release on CC1352p custom board.
I need to convert float into string.
Created the test code as below:
char val[40];
System_sprintf(val,"%.2f",4.19);
printf("Battery level = %s\n",val);
Printed console:
[Cortex_M4_0] Battery level = f
Tried suggested solution on similar issues, Still no solution.
Any idea how to convert float into string?