Post ALL your code, and use code tags ("</>" button on post editor).
An "int" variable should suffice for a temperature.
Try
lcd.print(tempc);
Post ALL your code, and use code tags ("</>" button on post editor).
An "int" variable should suffice for a temperature.
Try
lcd.print(tempc);