Hi friends,
I'm doing programming in Hitech C, my uC is PIC16F877A & displaying on 16x2 LCD I'm trying to display a integer value on above line & floating value on lower line of lcd using the following commands, the integer value is comming but the floating value isn't comming instead it's showing ' f ' on LCD
lcd_goto(0x80);
x_int=314;
sprintf (buf, "%d", x_int);
lcd_puts(buf);
lcd_goto(0xC0);
y_float=11.22;
sprintf (buf, "%f", y_float);
lcd_puts(buf);
a similar thing i had done with keil C51 & At89c52 it was working properly.
Can you please guide me.....
With best regards,
Neelam