Microcontroller › PIC › Temperature Sensor : Interfacing LM35 and LCD Display to PIC18F4550 › Hello,I hope you have solved
I hope you have solved problem as it is posted 2 months before.
1) you have to convert your temepature in string format to display on LCD.
2) you have to make calculation in float variable.
lcd_write_cmd(0xC0); // Move cursor to line 2 position 1
Instead of direct ‘t’ it should be converted to string.
Instead of ‘int’ ‘t’ it should be ‘float’.