Solved
how to display the value in float using snprintf?
Hi, how can i use the snprintf for float value in touchgfx? I want to display the data from the sensor in touchgfx lcd but in float
Hi, how can i use the snprintf for float value in touchgfx? I want to display the data from the sensor in touchgfx lcd but in float
it also depends on what C library is used. Nano version doesn't have float support. Besides of this TouchGFX requires Unicode strings.
So, I use
Unicode::snprintfFloat(buffer, bufSize, "%f", var );
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.