I'm on dire need of displaying a float value on the LCD. The problem is, i can't do it
So far i've tried:
void func(void){
float x=3.14;
char buf[16];
sprintf(buf,"%f",x);
*send buf to the LCD*
}
Also tried the code on **broken link removed** wich converts float to string.
Both have failed and now i need your help.
So far i've tried:
void func(void){
float x=3.14;
char buf[16];
sprintf(buf,"%f",x);
*send buf to the LCD*
}
Also tried the code on **broken link removed** wich converts float to string.
Both have failed and now i need your help.
Last edited by a moderator: