Hello,
i want to use the dtostrf() function of stdlib.h in uvision4, because my sprintf() function of stdio.h make some mistakes by convert a float value in a string. Instead of the decimal point, value 0x20 will be set! The dtostrf() function are not located in the default library, libc.a, but in the mathematical library, libm.a. So when linking the application, the -lm option needs to be specified.
How can i include this library under uvision4? Or how can i get this function under uvision4?
Thanks for the replies!
Seb V.
Getting the wrong character for decimal point sounds like it could be a problem with not calling the the C library initialization code. Are you using the standard startup code for your processor?