I am interesting into converting float or integer to string that I can directly write to a LCD.
Doing some research I ended up trying stdlib.h avr-libc: <stdlib.h>: General utilities as in thid topic: http://forum.arduino.cc/index.php/topic,37391.0.html
Anyway I can find an exemple that helps understanding it enough.
I tried to implement it on my code but I don't understand enough the parameters especially the char*
Can somebody write me an exemple?
Like I have the following:
float pi=3.14152654;
I want do display that value with a string using 5 characters. What formula should I use and how should I feed it?
I am willing to read documentation and I already did some homework but here I cant get the picture.
Any help is welcome.